summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-01 00:47:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-01 00:47:29 +0000
commit0c84535e00ca6beb9ccd17f3e029588385c58d9c (patch)
tree1af6913e493f3561914974b0118d2b3a125b203f /target
parent7ffc67cadd5248d7de18064ad3f76affd2dd5f88 (diff)
fix dependency problem
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/kernel.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/kernel.mk b/target/linux/kernel.mk
index 346fb7fad9..4b8bf139d4 100644
--- a/target/linux/kernel.mk
+++ b/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)" >> $@