summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
commitf606c1f91a6eabddbe597c017bc7ce78ade16850 (patch)
tree72da19c6e46497fac205668525cec2563d9cf290 /openwrt
parent6596e28b2d106fd5ee597bc46dd5017e2c44cd0a (diff)
Always use -R flag with cp (to preserve symlinks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/libosip2/Makefile4
-rw-r--r--openwrt/package/libtool/Makefile6
-rw-r--r--openwrt/package/lua/Makefile12
-rw-r--r--openwrt/package/mysql/Makefile4
-rw-r--r--openwrt/package/net-snmp/Makefile4
-rw-r--r--openwrt/package/openssl/Makefile8
-rw-r--r--openwrt/package/sablevm-classpath/Makefile6
-rw-r--r--openwrt/package/sablevm/Makefile4
-rw-r--r--openwrt/package/speex/Makefile6
-rw-r--r--openwrt/package/tcp_wrappers/Makefile8
-rw-r--r--openwrt/package/usbutils/Makefile4
11 files changed, 33 insertions, 33 deletions
diff --git a/openwrt/package/libosip2/Makefile b/openwrt/package/libosip2/Makefile
index 82489fec0..d4e6d6151 100644
--- a/openwrt/package/libosip2/Makefile
+++ b/openwrt/package/libosip2/Makefile
@@ -76,9 +76,9 @@ $(STAGING_DIR)/usr/lib/libosip2.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/osip{,parser}2 $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(STAGING_DIR)/usr/lib/pkgconfig/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(STAGING_DIR)/usr/lib/pkgconfig/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libosip2.so
diff --git a/openwrt/package/libtool/Makefile b/openwrt/package/libtool/Makefile
index 79dca5f0a..2342fb0b0 100644
--- a/openwrt/package/libtool/Makefile
+++ b/openwrt/package/libtool/Makefile
@@ -60,15 +60,15 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(IPKG_LIBLTDL):
install -m0755 -d $(IDIR_LIBLTDL)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
$(RSTRIP) $(IDIR_LIBLTDL)
$(IPKG_BUILD) $(IDIR_LIBLTDL) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libltdl.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
mkdir -p $(I_LIBLTDL_DEV)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libltdl.so
diff --git a/openwrt/package/lua/Makefile b/openwrt/package/lua/Makefile
index a36c3acb2..95f5fec12 100644
--- a/openwrt/package/lua/Makefile
+++ b/openwrt/package/lua/Makefile
@@ -57,19 +57,19 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBLUA):
install -d -m0755 $(IDIR_LIBLUA)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/
$(RSTRIP) $(IDIR_LIBLUA)
$(IPKG_BUILD) $(IDIR_LIBLUA) $(PACKAGE_DIR)
$(IPKG_LUA_INTERPRETER):
install -d -m0755 $(IDIR_LUA_INTERPRETER)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/
$(RSTRIP) $(IDIR_LUA_INTERPRETER)
$(IPKG_BUILD) $(IDIR_LUA_INTERPRETER) $(PACKAGE_DIR)
$(IPKG_LUA_COMPILER):
install -d -m0755 $(IDIR_LUA_COMPILER)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/
$(RSTRIP) $(IDIR_LUA_COMPILER)
$(IPKG_BUILD) $(IDIR_LUA_COMPILER) $(PACKAGE_DIR)
@@ -82,10 +82,10 @@ $(IPKG_LUA_EXAMPLES):
$(STAGING_DIR)/usr/lib/liblua.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/
- cp -fp $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/liblua.so
diff --git a/openwrt/package/mysql/Makefile b/openwrt/package/mysql/Makefile
index 64bb6de2e..28d931477 100644
--- a/openwrt/package/mysql/Makefile
+++ b/openwrt/package/mysql/Makefile
@@ -103,13 +103,13 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBMYSQLCLIENT):
install -d -m0755 $(IDIR_LIBMYSQLCLIENT)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
$(RSTRIP) $(IDIR_LIBMYSQLCLIENT)
$(IPKG_BUILD) $(IDIR_LIBMYSQLCLIENT) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/mysql $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
diff --git a/openwrt/package/net-snmp/Makefile b/openwrt/package/net-snmp/Makefile
index ba887482c..166d9d3b0 100644
--- a/openwrt/package/net-snmp/Makefile
+++ b/openwrt/package/net-snmp/Makefile
@@ -163,11 +163,11 @@ $(IPKG_SNMP_UTILS):
$(STAGING_DIR)/usr/lib/libnetsnmp.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/net-snmp $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libnetsnmp.so
diff --git a/openwrt/package/openssl/Makefile b/openwrt/package/openssl/Makefile
index 84822060c..f1e6c5ed9 100644
--- a/openwrt/package/openssl/Makefile
+++ b/openwrt/package/openssl/Makefile
@@ -65,18 +65,18 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBOPENSSL):
install -d -m0755 $(IDIR_LIBOPENSSL)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(IDIR_LIBOPENSSL)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(IDIR_LIBOPENSSL)/usr/lib/
chmod 0644 $(IDIR_LIBOPENSSL)/usr/lib/*
$(RSTRIP) $(IDIR_LIBOPENSSL)
$(IPKG_BUILD) $(IDIR_LIBOPENSSL) $(PACKAGE_DIR)
$(IPKG_OPENSSL_UTIL):
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl
- cp -fp $(PKG_INSTALL_DIR)/etc/ssl/openssl.cnf $(IDIR_OPENSSL_UTIL)/etc/ssl/
+ cp -fpR $(PKG_INSTALL_DIR)/etc/ssl/openssl.cnf $(IDIR_OPENSSL_UTIL)/etc/ssl/
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl/certs
install -d -m0700 $(IDIR_OPENSSL_UTIL)/etc/ssl/private
install -d -m0755 $(IDIR_OPENSSL_UTIL)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/openssl $(IDIR_OPENSSL_UTIL)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/openssl $(IDIR_OPENSSL_UTIL)/usr/bin/
$(RSTRIP) $(IDIR_OPENSSL_UTIL)
$(IPKG_BUILD) $(IDIR_OPENSSL_UTIL) $(PACKAGE_DIR)
@@ -84,7 +84,7 @@ $(STAGING_DIR)/usr/lib/libssl.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/openssl $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib/
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libssl.so
diff --git a/openwrt/package/sablevm-classpath/Makefile b/openwrt/package/sablevm-classpath/Makefile
index 1a006cab0..13fa55513 100644
--- a/openwrt/package/sablevm-classpath/Makefile
+++ b/openwrt/package/sablevm-classpath/Makefile
@@ -70,15 +70,15 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBSABLEVM_CLASSPATH):
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath/
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security/
$(RSTRIP) $(IDIR_LIBSABLEVM_CLASSPATH)
$(IPKG_BUILD) $(IDIR_LIBSABLEVM_CLASSPATH) $(PACKAGE_DIR)
$(IPKG_SABLEVM_CLASSPATH_FULL):
install -d -m0755 $(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath
- cp -fp $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
+ cp -fpR $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
$(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath/
$(IPKG_BUILD) $(IDIR_SABLEVM_CLASSPATH_FULL) $(PACKAGE_DIR)
diff --git a/openwrt/package/sablevm/Makefile b/openwrt/package/sablevm/Makefile
index 66cb819c5..e57fdb225 100644
--- a/openwrt/package/sablevm/Makefile
+++ b/openwrt/package/sablevm/Makefile
@@ -61,8 +61,8 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_SABLEVM):
install -m0755 -d $(IDIR_SABLEVM)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(IDIR_SABLEVM)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(IDIR_SABLEVM)/usr/bin/
install -m0755 -d $(IDIR_SABLEVM)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(IDIR_SABLEVM)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(IDIR_SABLEVM)/usr/lib/
$(RSTRIP) $(IDIR_SABLEVM)
$(IPKG_BUILD) $(IDIR_SABLEVM) $(PACKAGE_DIR)
diff --git a/openwrt/package/speex/Makefile b/openwrt/package/speex/Makefile
index 5bacda30e..57e7ed47c 100644
--- a/openwrt/package/speex/Makefile
+++ b/openwrt/package/speex/Makefile
@@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBSPEEX):
install -d -m0755 $(IDIR_LIBSPEEX)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
$(RSTRIP) $(IDIR_LIBSPEEX)
$(IPKG_BUILD) $(IDIR_LIBSPEEX) $(PACKAGE_DIR)
@@ -69,9 +69,9 @@ $(STAGING_DIR)/usr/lib/libspeex.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/speex $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libspeex.so
diff --git a/openwrt/package/tcp_wrappers/Makefile b/openwrt/package/tcp_wrappers/Makefile
index 17f8c2977..cb24ed527 100644
--- a/openwrt/package/tcp_wrappers/Makefile
+++ b/openwrt/package/tcp_wrappers/Makefile
@@ -41,16 +41,16 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBWRAP):
install -d -m0755 $(IDIR_LIBWRAP)/usr/lib
- cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/
+ cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/
$(RSTRIP) $(IDIR_LIBWRAP)
$(IPKG_BUILD) $(IDIR_LIBWRAP) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libwrap.a: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/
-# cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/
+# cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libwrap.a
diff --git a/openwrt/package/usbutils/Makefile b/openwrt/package/usbutils/Makefile
index 9b86509bb..8e6112cd9 100644
--- a/openwrt/package/usbutils/Makefile
+++ b/openwrt/package/usbutils/Makefile
@@ -60,8 +60,8 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LSUSB):
install -d -m0755 $(IDIR_LSUSB)/usr/share
- cp -fp $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/
install -d -m0755 $(IDIR_LSUSB)/usr/sbin
- cp -fp $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/
$(RSTRIP) $(IDIR_LSUSB)
$(IPKG_BUILD) $(IDIR_LSUSB) $(PACKAGE_DIR)