aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/kernel-headers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index bce6e93e1a..1bf5598d6f 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -71,6 +71,7 @@ define Host/Configure/post/mipsel
endef
define Host/Prepare
+ rm -rf $(BUILD_DIR_TOOLCHAIN)/linux-*
$(call Kernel/Prepare/Default)
rm -f $(BUILD_DIR_TOOLCHAIN)/linux
ln -s linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux