X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2346e8fd145e4c45760d9d5519a99db8ef1239df..556cad808f902654620ae6007951816395660fd0:/openwrt/package/wiviz/Makefile diff --git a/openwrt/package/wiviz/Makefile b/openwrt/package/wiviz/Makefile index e3453f6cc..d5317f1ba 100644 --- a/openwrt/package/wiviz/Makefile +++ b/openwrt/package/wiviz/Makefile @@ -14,7 +14,7 @@ $(eval $(call PKG_template,WIVIZ,wiviz,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.prepared: mkdir -p $(PKG_BUILD_DIR) - cp -fpR ./src/* $(PKG_BUILD_DIR)/ + $(CP) ./src/* $(PKG_BUILD_DIR)/ touch $@ $(PKG_BUILD_DIR)/.configured: @@ -23,16 +23,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ - COPTS="$(TARGET_CFLAGS)" \ + CCOPTS="$(TARGET_CFLAGS)" \ INCLUDE="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" touch $@ $(IPKG_WIVIZ): mkdir -p $(IDIR_WIVIZ)/usr/sbin - cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_WIVIZ)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_WIVIZ)/usr/sbin/ $(RSTRIP) $(IDIR_WIVIZ) - cp -fpR ./files/* $(IDIR_WIVIZ) + $(CP) ./files/* $(IDIR_WIVIZ) find $(IDIR_WIVIZ) -name CVS | xargs rm -rf find $(IDIR_WIVIZ) -name .svn | xargs rm -rf $(IPKG_BUILD) $(IDIR_WIVIZ) $(PACKAGE_DIR)