From 01a574faab8759193b2ecfd8298bd9c9e77b3da7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 6 Apr 2013 22:23:33 +0200 Subject: [PATCH] Fix build without .config --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bc606559..da919680 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,6 @@ include $(TOPDIR)/include/host.mk include rules.mk include $(INCLUDE_DIR)/depends.mk include $(INCLUDE_DIR)/subdir.mk -include $(INCLUDE_DIR)/kernel.mk include package/Makefile include tools/Makefile @@ -137,6 +136,8 @@ download: .config FORCE toolchain: $(toolchain/stamp-install) $(tools/stamp-install) +include $(INCLUDE_DIR)/kernel.mk + kernel: FORCE $(NO_TRACE_MAKE) -C $(TOPDIR)/target/linux/$(BOARD) -f $(GLUONDIR)/include/Makefile.target $(LINUX_DIR)/.image TARGET_BUILD=1 $(NO_TRACE_MAKE) -C $(TOPDIR)/target/linux/$(BOARD) -f $(GLUONDIR)/include/Makefile.target $(LINUX_DIR)/.modules TARGET_BUILD=1