]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
system: provide package-wide system variables and macros
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 Jul 2017 17:25:31 +0000 (19:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 19:51:17 +0000 (21:51 +0200)
commit2de968f03a76c3feb5c7693cfc05a6342fcc12ae
tree4fc479a0519443fec5139db1fd5909a4bc359e6b
parent92d4b3e8ddaf54c7aa45c0b75293304fd740a20a
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>
Makefile
package/skeleton/skeleton.mk
system/system.mk [new file with mode: 0644]