diff options
author | Sakari Poussa <sakari.poussa@intel.com> | 2016-11-08 13:30:28 +0200 |
---|---|---|
committer | Sakari Poussa <sakari.poussa@intel.com> | 2016-11-08 13:30:28 +0200 |
commit | 1bfdfbf38495a573605fd1c6adb09830cebc2ddc (patch) | |
tree | ec9a1bf0bc6bc1aeb3d5021c2749e6375595b3a1 | |
parent | 12740a2314b361d6b45a0f65ae6e43cef28e3fe5 (diff) |
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>
-rw-r--r-- | scripts/Makefile.build | 1 | ||||
-rw-r--r-- | scripts/Makefile.lib | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 6295c2e75..3518241e5 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -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 diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index b907af8ab..29aa73d5c 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -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 # =========================================================================== |