diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-30 13:44:48 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-04 08:48:50 +0200 |
commit | 091dc429374e8b8f81eb136f63b3976ec7c7b2ab (patch) | |
tree | 304f7f7609bb84f23f82f8a61d6105dbd89dc396 /arch | |
parent | e25567856667ff8472322e8c238389b62a29eaba (diff) | |
download | barebox-091dc429374e8b8f81eb136f63b3976ec7c7b2ab.tar.gz barebox-091dc429374e8b8f81eb136f63b3976ec7c7b2ab.tar.xz |
mips: remove unused INCDIR and BOARD variables in Makefile
The variable INCDIR is not used by anyone.
The variable BOARD is not set by anyone, so $(BOARD) is always empty.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/Makefile | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 4717f49a46..abfa825042 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -88,25 +88,12 @@ else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) endif -ifeq ($(incdir-y),) -incdir-y := $(machine-y) -endif -INCDIR := arch-$(incdir-y) - -ifeq ($(KBUILD_SRC),) -KBUILD_CPPFLAGS += -I$(BOARD)/include -else -KBUILD_CPPFLAGS += -I$(srctree)/$(BOARD)/include -endif - ifneq ($(machine-y),) MACH := arch/mips/mach-$(machine-y)/ else MACH := endif -common-y += $(BOARD) - common-y += $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/ |