target/sdk: remove some unnecessary files
authorFelix Fietkau <nbd@openwrt.org>
Mon, 10 Mar 2014 11:12:41 +0000 (11:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 10 Mar 2014 11:12:41 +0000 (11:12 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39859

target/sdk/Makefile

index 82b47cd946d4a546ea1c1e493aaccda6e3e8d537..60201c8b638c37ceef90a2e89cba8172259f4917 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 \