mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
build: remove old kernel-headers build directories
Saves space after updating kernel versions Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@ -71,6 +71,7 @@ define Host/Configure/post/mipsel
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Prepare
|
define Host/Prepare
|
||||||
|
rm -rf $(BUILD_DIR_TOOLCHAIN)/linux-*
|
||||||
$(call Kernel/Prepare/Default)
|
$(call Kernel/Prepare/Default)
|
||||||
rm -f $(BUILD_DIR_TOOLCHAIN)/linux
|
rm -f $(BUILD_DIR_TOOLCHAIN)/linux
|
||||||
ln -s linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux
|
ln -s linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux
|
||||||
|
Reference in New Issue
Block a user