Skip to content
Snippets Groups Projects
Commit d0619fb0 authored by Stefan Weil's avatar Stefan Weil Committed by Felix Fietkau
Browse files

Remove existing old link before creating a new one


This is needed after a kernel update, otherwise the
new link is written as linux/linux-$(LINUX_VERSION).

Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
parent 3f506bdb
No related branches found
No related tags found
Loading
...@@ -72,7 +72,8 @@ endef ...@@ -72,7 +72,8 @@ endef
define Host/Prepare define Host/Prepare
$(call Kernel/Prepare/Default) $(call Kernel/Prepare/Default)
ln -sf linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux rm -f $(BUILD_DIR_TOOLCHAIN)/linux
ln -s linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux
$(SED) 's/@expr length/@-expr length/' $(HOST_BUILD_DIR)/Makefile $(SED) 's/@expr length/@-expr length/' $(HOST_BUILD_DIR)/Makefile
endef endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment