aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-08-05 00:55:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-08-05 00:55:41 +0000
commitf761ee36c8938a7302486431cae21514a36ab263 (patch)
tree230d00b54736da0b15dbb55014764c9ba992bde2
parent6072ae722dfe2b97af6141f6a4913d2c25f569a7 (diff)
downloadupstream-f761ee36c8938a7302486431cae21514a36ab263.tar.gz
upstream-f761ee36c8938a7302486431cae21514a36ab263.tar.bz2
upstream-f761ee36c8938a7302486431cae21514a36ab263.zip
Force remove of the symbolic link build_arm/linux, especially when switching from targets using the same toolchain
(ex : switching from brcm-2.4 to au1000-2.6) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4462 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 9af1142d33..bf6f2c2eca 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -79,6 +79,7 @@ modules: $(LINUX_DIR)/.modules_done
packages: $(TARGETS)
$(LINUX_DIR)/.linux-compile:
+ @rm -f $(BUILD_DIR)/linux
ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
@$(MAKE) modules
@$(MAKE) packages