kbuild: remove redundant -include include/generated/autoconf.h
include/generated/autoconf.h is included from include/linux/kconfig.h and we already have "-include $(srctree)/include/linux/kconfig.h" just below. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
461710b119
commit
0ec6488501
1
Makefile
1
Makefile
|
@ -294,7 +294,6 @@ LINUXINCLUDE := -Iinclude -I$(srctree)/dts/include \
|
|||
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
||||
-I$(srctree)/arch/$(ARCH)/include \
|
||||
-I$(objtree)/arch/$(ARCH)/include \
|
||||
-include include/generated/autoconf.h \
|
||||
-include $(srctree)/include/linux/kconfig.h
|
||||
|
||||
CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
|
||||
|
|
Loading…
Reference in New Issue