Skip to content
Snippets Groups Projects
Commit 0e6256d0 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 71ba2458
No related branches found
No related tags found
No related merge requests found
......@@ -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 := \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment