mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
build: remove old kernel-headers build directories
Saves space after updating kernel versions Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 76b62e602233d1a2e1f8ef1c0833bd22ebaaf832)
This commit is contained in:
parent
c7234e3036
commit
7f3f2bc03b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user