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
This commit is contained in:
Florian Fainelli 2006-08-05 00:55:41 +00:00
parent 5a79463894
commit bd7a40ba7d

View File

@ -79,6 +79,7 @@ modules: $(LINUX_DIR)/.modules_done
packages: $(TARGETS) packages: $(TARGETS)
$(LINUX_DIR)/.linux-compile: $(LINUX_DIR)/.linux-compile:
@rm -f $(BUILD_DIR)/linux
ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
@$(MAKE) modules @$(MAKE) modules
@$(MAKE) packages @$(MAKE) packages