include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/host.mk
+
+override MAKEFLAGS=
+override MAKE:=$(SUBMAKE)
KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
ifneq ($(CONFIG_BIG_ENDIAN),y)
download:
prepare:
ifneq ($(IB),1)
- compile: compile-targets
+ compile: compile-targets FORCE
$(call Build/Compile)
else
compile:
endif
ifneq ($(IB),1)
- install: compile install-targets
+ install: compile install-targets FORCE
$(call Image/Prepare)
$(call Image/mkfs/prepare)
$(call Image/BuildKernel)
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
install: $(LINUX_DIR)/.image
- $(MAKE) -C image install
+ $(MAKE) -C image compile install
clean: FORCE
rm -f $(STAMP_DIR)/.linux-compile
@$(MAKE) compile
image-prereq:
- $(MAKE) -s -C image prereq
+ $(SUBMAKE) -s -C image prereq
prereq: image-prereq