diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-04-15 14:47:40 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-18 11:43:36 -0400 |
commit | 0e6256d0770f5f2bda80e9ce1aa8dd404de4bcdf (patch) | |
tree | 574d13f1ef7f68367dafa4af5157d7d544b4c871 /Makefile | |
parent | 71ba24581c8b6fae2d6f04681c8a2fe310aec4c0 (diff) |
kbuild: add user-supplied CPPFLAGS, AFLAGS and CFLAGS
Like Linux Kernel, this commit provides environment variables
KCPPFLAGS, KAFLAGS and KCFLAGS, which are useful to pass
additional options.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -584,6 +584,11 @@ endif export CONFIG_SYS_TEXT_BASE +# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments +KBUILD_CPPFLAGS += $(KCPPFLAGS) +KBUILD_AFLAGS += $(KAFLAGS) +KBUILD_CFLAGS += $(KCFLAGS) + # Use UBOOTINCLUDE when you must reference the include/ directory. # Needed to be compatible with the O= option UBOOTINCLUDE := \ |