From bd7a40ba7d79cfb5c68c2aaf981a31202d4698bb Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 5 Aug 2006 00:55:41 +0000 Subject: [PATCH] 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 --- openwrt/include/kernel-build.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk index 9af1142d33..bf6f2c2eca 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