summaryrefslogtreecommitdiff
path: root/package/readline/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/readline/Makefile')
-rw-r--r--package/readline/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/readline/Makefile b/package/readline/Makefile
index e9c8fdb3f9..2e044a1844 100644
--- a/package/readline/Makefile
+++ b/package/readline/Makefile
@@ -60,15 +60,15 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBREADLINE):
install -m0755 -d $(IDIR_LIBREADLINE)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.so.* $(IDIR_LIBREADLINE)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.so.* $(IDIR_LIBREADLINE)/usr/lib/
$(RSTRIP) $(IDIR_LIBREADLINE)
$(IPKG_BUILD) $(IDIR_LIBREADLINE) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libreadline.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fpR $(PKG_INSTALL_DIR)/usr/include/readline $(STAGING_DIR)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/readline $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so*} $(STAGING_DIR)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libreadline.so