c++: enable subdir-cxxflags
Similar to C subdir-ccflags, enable similar C++ variable subdir-cxxflags Change-Id: I4355817bc2d6a80a3eebba9b87fbf54725dda5e7 Signed-off-by: Sakari Poussa <sakari.poussa@intel.com>
This commit is contained in:
parent
12740a2314
commit
1bfdfbf384
2 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ ldflags-y :=
|
|||
|
||||
subdir-asflags-y :=
|
||||
subdir-ccflags-y :=
|
||||
subdir-cxxflags-y :=
|
||||
|
||||
# Read auto.conf if it exists, otherwise ignore
|
||||
-include include/config/auto.conf
|
||||
|
|
|
@ -10,6 +10,7 @@ ldflags-y += $(EXTRA_LDFLAGS)
|
|||
# flags that take effect in sub directories
|
||||
export KBUILD_SUBDIR_ASFLAGS := $(KBUILD_SUBDIR_ASFLAGS) $(subdir-asflags-y)
|
||||
export KBUILD_SUBDIR_CCFLAGS := $(KBUILD_SUBDIR_CCFLAGS) $(subdir-ccflags-y)
|
||||
export KBUILD_SUBDIR_CXXFLAGS := $(KBUILD_SUBDIR_CXXFLAGS) $(subdir-cxxflags-y)
|
||||
|
||||
# Figure out what we need to build from the various variables
|
||||
# ===========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue