diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-06-16 15:15:37 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 16:00:27 +0100 |
commit | 7f3f2bc03b642952e69f650188952c8bf893c932 (patch) | |
tree | 53325c80c7e199d99b56aadd7ca15e53789adc13 /toolchain | |
parent | c7234e3036f5c660c0ddb56328d85aa079317210 (diff) | |
download | upstream-7f3f2bc03b642952e69f650188952c8bf893c932.tar.gz upstream-7f3f2bc03b642952e69f650188952c8bf893c932.tar.bz2 upstream-7f3f2bc03b642952e69f650188952c8bf893c932.zip |
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)
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 1 |
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 |