diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-12 06:25:19 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-09-12 07:09:48 +0200 |
commit | 8e966fab8eeb45db9f5a570ac4521f684d9696e1 (patch) | |
tree | e24c42f96b2db87119efa0daeb614d0381dbac96 /arch/xtensa/Makefile | |
parent | xtensa: ISS: don't allocate memory in platform_setup (diff) | |
download | linux-8e966fab8eeb45db9f5a570ac4521f684d9696e1.tar.xz linux-8e966fab8eeb45db9f5a570ac4521f684d9696e1.zip |
xtensa: remove unnecessary KBUILD_SRC ifeq conditional
You can always prefix variant/platform header search paths with
$(srctree)/ because $(srctree) is '.' for in-tree building.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r-- | arch/xtensa/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 295c120ed099..d67e30faff9c 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile @@ -64,11 +64,7 @@ endif vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) -ifeq ($(KBUILD_SRC),) -KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(vardirs) $(plfdirs)) -else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(vardirs) $(plfdirs)) -endif KBUILD_DEFCONFIG := iss_defconfig |