diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-12 13:25:19 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-09-11 22:09:48 -0700 |
commit | 8e966fab8eeb45db9f5a570ac4521f684d9696e1 (patch) | |
tree | e24c42f96b2db87119efa0daeb614d0381dbac96 /arch/xtensa/Makefile | |
parent | ef439d49e0bfb26cd5f03c88b4cb7cc9073ed30c (diff) | |
download | linux-8e966fab8eeb45db9f5a570ac4521f684d9696e1.tar.bz2 |
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 |