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: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
3f506bdbb0
commit
d0619fb02c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue