mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] mips: remove unused INCDIR and BOARD variables in Makefile
@ 2020-04-30  4:44 Masahiro Yamada
  2020-04-30  4:44 ` [PATCH 2/2] mips: remove unused board/debug_ll.h Masahiro Yamada
  2020-05-04  6:49 ` [PATCH 1/2] mips: remove unused INCDIR and BOARD variables in Makefile Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2020-04-30  4:44 UTC (permalink / raw)
  To: barebox; +Cc: Masahiro Yamada

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>
---

 arch/mips/Makefile | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 4717f49a4..abfa82504 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/
-- 
2.25.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-04  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  4:44 [PATCH 1/2] mips: remove unused INCDIR and BOARD variables in Makefile Masahiro Yamada
2020-04-30  4:44 ` [PATCH 2/2] mips: remove unused board/debug_ll.h Masahiro Yamada
2020-05-04  6:49 ` [PATCH 1/2] mips: remove unused INCDIR and BOARD variables in Makefile Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox