fix compile error
[openwrt.git] / openwrt / package / netstat-nat / Makefile
index 53893ce..3e0ab20 100644 (file)
@@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,NETSTAT-NAT,netstat-nat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(strip $(TARGET_CFLAGS))" \
@@ -58,7 +58,7 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_NETSTAT-NAT):
        install -d -m0755 $(IDIR_NETSTAT-NAT)/usr/bin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(IDIR_NETSTAT-NAT)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(IDIR_NETSTAT-NAT)/usr/bin/
        $(RSTRIP) $(IDIR_NETSTAT-NAT)
        $(IPKG_BUILD) $(IDIR_NETSTAT-NAT) $(PACKAGE_DIR)
 
This page took 0.024162 seconds and 4 git commands to generate.