fix sdk build
[openwrt.git] / target / sdk / Makefile
index 3cae4b3..dc45697 100644 (file)
@@ -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); \
        )
This page took 0.020841 seconds and 4 git commands to generate.