change cp to $(CP)
[openwrt.git] / openwrt / package / nano / Makefile
index 46132fb..aec6fa8 100644 (file)
@@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,NANO,nano,$(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="$(TARGET_CFLAGS)" \
@@ -66,7 +66,7 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_NANO):
        install -d -m0755 $(IDIR_NANO)/usr/bin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/bin/nano $(IDIR_NANO)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(IDIR_NANO)/usr/bin/
        $(RSTRIP) $(IDIR_NANO)
        $(IPKG_BUILD) $(IDIR_NANO) $(PACKAGE_DIR)
 
This page took 0.026565 seconds and 4 git commands to generate.