X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5e36436be9dab878de72c10f120440e8be46db38..40c48eab67d2a477c10ecde07cb6426108560935:/target/sdk/Makefile diff --git a/target/sdk/Makefile b/target/sdk/Makefile index c0fc027cb..dc45697f9 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -33,10 +33,10 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean $(CP) ./files/Makefile $(SDK_BUILD_DIR)/ $(CP) ./files/README.SDK $(SDK_BUILD_DIR)/ $(CP) ./files/package/rules.mk $(SDK_BUILD_DIR)/package/ - echo OPENWRTVERSION:=$(OPENWRTVERSION) > $(SDK_BUILD_DIR)/.version.mk + echo OPENWRTVERSION:="$(OPENWRTVERSION)" > $(SDK_BUILD_DIR)/.version.mk rm -rf $(SDK_BUILD_DIR)/staging_dir*/ccache - find $(SDK_BUILD_DIR) -name .svn -exec rm -rf {} + - find $(SDK_BUILD_DIR) -name CVS -exec rm -rf {} + + find $(SDK_BUILD_DIR) -name .svn | $(XARGS) rm -rf + find $(SDK_BUILD_DIR) -name CVS | $(XARGS) rm -rf (cd $(BUILD_DIR); \ tar cfj $@ $(SDK_NAME); \ )