aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-01 00:47:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-01 00:47:29 +0000
commitd527cb83838e224e5a79a942a5c20893a9251d14 (patch)
tree1af6913e493f3561914974b0118d2b3a125b203f /target
parentd263077b6a6ad25cf9fb014c1701a28455884b4e (diff)
downloadupstream-d527cb83838e224e5a79a942a5c20893a9251d14.tar.gz
upstream-d527cb83838e224e5a79a942a5c20893a9251d14.tar.bz2
upstream-d527cb83838e224e5a79a942a5c20893a9251d14.zip
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)" >> $@