X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1674a1c6c2363912433d4d00f46093e5422c9d1e..ee55d49535b60bf135c5e52d56aa91896cedac03:/package/nano/Makefile diff --git a/package/nano/Makefile b/package/nano/Makefile index 46132fb3d..aec6fa8e6 100644 --- a/package/nano/Makefile +++ b/package/nano/Makefile @@ -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)