From c8ec7f76470dddcce6139cc2db28195052a71126 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 1 Jun 2006 00:47:29 +0000 Subject: [PATCH] fix dependency problem SVN-Revision: 3885 --- openwrt/target/linux/kernel.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openwrt/target/linux/kernel.mk b/openwrt/target/linux/kernel.mk index 346fb7fad9..4b8bf139d4 100644 --- a/openwrt/target/linux/kernel.mk +++ b/openwrt/target/linux/kernel.mk @@ -8,9 +8,12 @@ KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg $(TARGETS): $(PACKAGE_DIR) +$(LINUX_DIR): + mkdir -p $@ + $(PACKAGE_DIR): - mkdir -p $(PACKAGE_DIR) - + mkdir -p $@ + $(DL_DIR)/$(LINUX_SOURCE): -mkdir -p $(DL_DIR) $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE) @@ -67,7 +70,7 @@ $(KERNEL_IPKG): fi $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) -$(BUILD_DIR)/kernel.mk: FORCE +$(BUILD_DIR)/kernel.mk: $(LINUX_DIR) FORCE echo "BOARD:=$(BOARD)" > $@ echo "LINUX_VERSION:=$(LINUX_VERSION)" >> $@ echo "LINUX_RELEASE:=$(LINUX_RELEASE)" >> $@