X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Fimagebuilder%2FMakefile;h=9b3700ece3065b48effbf8776c3bc40ab65aedcb;hb=7e00a176137c85b0cb9ec039b25416708faf02bc;hp=cf4a6fe1a108347d94925fa460d468e205788d51;hpb=b8894ad01aaed13c19d51ce68dff27c558d666fc;p=openwrt-10.03%2F.git diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index cf4a6fe1a..9b3700ece 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -33,8 +33,8 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(CP) $(TOPDIR)/target/linux/* $(IB_BUILD_DIR)/target/linux rm -rf $(IB_BUILD_DIR)/target/linux/*/patches -cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/* $(IB_BUILD_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) # don't copy subdirectories here - find $(IB_BUILD_DIR) -name .svn -exec rm -rf {} + - find $(IB_BUILD_DIR) -name CVS -exec rm -rf {} + + find $(IB_BUILD_DIR) -name .svn | $(XARGS) rm -rf + find $(IB_BUILD_DIR) -name CVS | $(XARGS) rm -rf (cd $(BUILD_DIR); \ tar cfj $@ $(IB_NAME); \ )