default to gcc 3.4.4 for brcm-2.4 because of weird kernel problems
[openwrt.git] / package / readline / Makefile
index c4380de..2e044a1 100644 (file)
@@ -60,15 +60,15 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_LIBREADLINE):
        install -m0755 -d $(IDIR_LIBREADLINE)/usr/lib
 
 $(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
        $(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
        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
        touch $@
 
 install-dev: $(STAGING_DIR)/usr/lib/libreadline.so
@@ -78,5 +78,5 @@ uninstall-dev:
                $(STAGING_DIR)/usr/include/readline \
                $(STAGING_DIR)/usr/lib/lib{history,readline}.{a,so*} \
 
                $(STAGING_DIR)/usr/include/readline \
                $(STAGING_DIR)/usr/lib/lib{history,readline}.{a,so*} \
 
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev
This page took 0.02294 seconds and 4 git commands to generate.