On Thu, Apr 30, 2020 at 01:44:48PM +0900, Masahiro Yamada wrote: > 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@xxxxxxxxxx> > --- Applied, thanks Sascha > > 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@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox