From: Felix Fietkau Date: Thu, 1 Jun 2006 00:47:29 +0000 (+0000) Subject: fix dependency problem X-Git-Tag: reboot~30718^2~629 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c8ec7f76470dddcce6139cc2db28195052a71126;p=openwrt%2Fstaging%2Fblogic.git fix dependency problem SVN-Revision: 3885 --- diff --git a/openwrt/target/linux/kernel.mk b/openwrt/target/linux/kernel.mk index 346fb7fad902..4b8bf139d415 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)" >> $@