target/sdk: remove some unnecessary files
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Mar 2014 11:12:41 +0000 (11:12 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Mar 2014 11:12:41 +0000 (11:12 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39859 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/sdk/Makefile

index 82b47cd..60201c8 100644 (file)
@@ -63,8 +63,8 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
        mkdir -p $(SDK_BUILD_DIR)/target/linux
        $(CP) $(GENERIC_PLATFORM_DIR) $(PLATFORM_DIR) $(SDK_BUILD_DIR)/target/linux/
        rm -rf \
-               $(SDK_BUILD_DIR)/target/linux/*/files \
-               $(SDK_BUILD_DIR)/target/linux/*/patches
+               $(SDK_BUILD_DIR)/target/linux/*/files* \
+               $(SDK_BUILD_DIR)/target/linux/*/patches*
        $(CP) -L \
                $(TOPDIR)/LICENSE \
                $(TOPDIR)/rules.mk \