move compile-time package dependencies in a separate file (sdk-compatible)
[openwrt.git] / package / rp-pppoe / Makefile
index e556afd..1b829d8 100644 (file)
@@ -66,8 +66,8 @@ $(IPKG_PPPOE_CLIENT):
        install -d -m0755 $(IDIR_PPPOE_CLIENT)/etc/ppp
        install -m0644 $(PKG_INSTALL_DIR)/etc/pppoe.conf $(IDIR_PPPOE_CLIENT)/etc/
        install -d -m0755 $(IDIR_PPPOE_CLIENT)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(IDIR_PPPOE_CLIENT)/usr/sbin/
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/adsl-* $(IDIR_PPPOE_CLIENT)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(IDIR_PPPOE_CLIENT)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/adsl-* $(IDIR_PPPOE_CLIENT)/usr/sbin/
        $(RSTRIP) $(IDIR_PPPOE_CLIENT)
        $(IPKG_BUILD) $(IDIR_PPPOE_CLIENT) $(PACKAGE_DIR)
 
@@ -77,7 +77,7 @@ $(IPKG_PPPOE_RELAY):
        install -d -m0755 $(IDIR_PPPOE_RELAY)/etc/init.d
        install -m0755 ./files/pppoe-relay.init $(IDIR_PPPOE_RELAY)/etc/init.d/pppoe-relay
        install -d -m0755 $(IDIR_PPPOE_RELAY)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pppoe-relay $(IDIR_PPPOE_RELAY)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-relay $(IDIR_PPPOE_RELAY)/usr/sbin/
        $(RSTRIP) $(IDIR_PPPOE_RELAY)
        $(IPKG_BUILD) $(IDIR_PPPOE_RELAY) $(PACKAGE_DIR)
 
@@ -89,13 +89,13 @@ $(IPKG_PPPOE_SERVER):
        install -d -m0755 $(IDIR_PPPOE_SERVER)/etc/ppp
        install -m0644 $(PKG_INSTALL_DIR)/etc/ppp/pppoe-server-options $(IDIR_PPPOE_SERVER)/etc/ppp/
        install -d -m0755 $(IDIR_PPPOE_SERVER)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pppoe-server $(IDIR_PPPOE_SERVER)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-server $(IDIR_PPPOE_SERVER)/usr/sbin/
        $(RSTRIP) $(IDIR_PPPOE_SERVER)
        $(IPKG_BUILD) $(IDIR_PPPOE_SERVER) $(PACKAGE_DIR)
 
 $(IPKG_PPPOE_SNIFF):
        install -d -m0755 $(IDIR_PPPOE_SNIFF)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pppoe-sniff $(IDIR_PPPOE_SNIFF)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-sniff $(IDIR_PPPOE_SNIFF)/usr/sbin/
        $(RSTRIP) $(IDIR_PPPOE_SNIFF)
        $(IPKG_BUILD) $(IDIR_PPPOE_SNIFF) $(PACKAGE_DIR)
 
This page took 0.025115 seconds and 4 git commands to generate.