aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/linux-2.4/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-05 22:21:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-05 22:21:27 +0000
commitb40aa65caa34868abe664793c2cc51c4661d1242 (patch)
tree380243bd651c54258bd01113e0390af61c92a2fb /target/linux/linux-2.4/Makefile
parent97d301816b4387c42ec97edba4f8449098673aea (diff)
downloadupstream-b40aa65caa34868abe664793c2cc51c4661d1242.tar.gz
upstream-b40aa65caa34868abe664793c2cc51c4661d1242.tar.bz2
upstream-b40aa65caa34868abe664793c2cc51c4661d1242.zip
fix linux kernel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1157 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/linux-2.4/Makefile')
-rw-r--r--target/linux/linux-2.4/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile
index 9a594b77fe..0c9021b1a0 100644
--- a/target/linux/linux-2.4/Makefile
+++ b/target/linux/linux-2.4/Makefile
@@ -213,8 +213,7 @@ $(TARGET_MODULES_DIR):
source: $(DL_DIR)/$(LINUX_SOURCE)
prepare: $(LINUX_DIR)/.configured
compile: $(LINUX_DIR)/.modules_done $(TARGETS)
- rm -f $(LINUX_DIR)
- ln -s $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
+ ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
$(MAKE) -C $(TOPDIR)/target/linux/package \
TARGET_DIR="$(LINUX_TARGET_DIR)" \
BUILD_DIR="$(LINUX_BUILD_DIR)" \