summaryrefslogtreecommitdiff
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
commitbd7a40ba7d79cfb5c68c2aaf981a31202d4698bb (patch)
tree9dc4220e5ea66986ed1d499752bf66e8fda77dac
parent5a79463894378a3cdc7f41a9f4ce315a114d5661 (diff)
downloadmtk-20170518-bd7a40ba7d79cfb5c68c2aaf981a31202d4698bb.zip
mtk-20170518-bd7a40ba7d79cfb5c68c2aaf981a31202d4698bb.tar.gz
mtk-20170518-bd7a40ba7d79cfb5c68c2aaf981a31202d4698bb.tar.bz2
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)
SVN-Revision: 4462
-rw-r--r--openwrt/include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk
index 9af1142..bf6f2c2 100644
--- a/openwrt/include/kernel-build.mk
+++ b/openwrt/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