summaryrefslogtreecommitdiff
path: root/openwrt/include
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/include')
-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