diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-07-18 19:25:31 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-22 21:51:17 +0200 |
| commit | 2de968f03a76c3feb5c7693cfc05a6342fcc12ae (patch) | |
| tree | 4fc479a0519443fec5139db1fd5909a4bc359e6b /Makefile | |
| parent | 92d4b3e8ddaf54c7aa45c0b75293304fd740a20a (diff) | |
| download | buildroot-2de968f03a76c3feb5c7693cfc05a6342fcc12ae.tar.gz buildroot-2de968f03a76c3feb5c7693cfc05a6342fcc12ae.zip | |
system: provide package-wide system variables and macros
Some macros, soon some variables, currently defined in the skeleton are
going to be used by other packages.
Some of those variables will be used as Makefile conditions (e.g. in
ifeq() conditions), so they *must* be defined before being used.
Since the skeleton package, starting with an 's', is included quite
late, those variables would not be available to most packages.
Offload the existing macros into the new system/system.mk file, that is
included early, before any package is. Rename the macros to appropriate
names.
Future commits will add new macros and variables in that file.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -479,6 +479,7 @@ all: world # may rely on it. include Makefile.legacy +include system/system.mk include package/Makefile.in # arch/arch.mk.* must be after package/Makefile.in because it may need to # complement variables defined therein, like BR_NO_CHECK_HASH_FOR. |

