summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-15 02:19:11 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-15 02:19:11 +0000
commit74ad4e12c8182e70ec0eed7e029f6d70163a6a01 (patch)
tree4205d99c55e88e6fb452d98fc849e13a53351699 /package
parent3f7d89fe6f2da45c2adb2f0e88e2e09b11242bb6 (diff)
downloadbuildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.tar.gz
buildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.zip
Change all instances of 'ln -sf' to 'ln -snf'
Diffstat (limited to 'package')
-rw-r--r--package/bzip2/bzip2.mk34
-rw-r--r--package/dhcp/dhcp.mk6
-rw-r--r--package/dropbear_sshd/dropbear_sshd.mk8
-rw-r--r--package/flex/flex.mk2
-rw-r--r--package/gawk/gawk.mk2
-rw-r--r--package/gzip/gzip.mk10
-rw-r--r--package/libfloat/libfloat.mk6
7 files changed, 34 insertions, 34 deletions
diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index c6eeb019a..e77a38407 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -17,8 +17,8 @@ bzip2-source: $(DL_DIR)/$(BZIP2_SOURCE)
$(BZIP2_DIR)/.unpacked: $(DL_DIR)/$(BZIP2_SOURCE)
$(BZIP2_CAT) $(DL_DIR)/$(BZIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- $(SED) "s,ln \$$(,ln -sf \$$(,g" $(BZIP2_DIR)/Makefile
- $(SED) "s,ln -s (lib.*),ln -sf \$$1 ; ln -sf libbz2.so.1.0.2 libbz2.so,g" \
+ $(SED) "s,ln \$$(,ln -snf \$$(,g" $(BZIP2_DIR)/Makefile
+ $(SED) "s,ln -s (lib.*),ln -snf \$$1 ; ln -snf libbz2.so.1.0.2 libbz2.so,g" \
$(BZIP2_DIR)/Makefile-libbz2_so
ifneq ($(BR2_LARGEFILE),y)
$(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile
@@ -33,11 +33,11 @@ $(STAGING_DIR)/lib/libbz2.so.1.0.2: $(BZIP2_DIR)/.unpacked
$(MAKE) CC=$(TARGET_CC) -C $(BZIP2_DIR) -f Makefile-libbz2_so
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) CC=$(TARGET_CC) -C $(BZIP2_DIR) libbz2.a
- cp $(BZIP2_DIR)/bzlib.h $(STAGING_DIR)/include/
- cp $(BZIP2_DIR)/libbz2.so.1.0.2 $(STAGING_DIR)/lib/
- cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/lib/
- (cd $(STAGING_DIR)/lib/; ln -sf libbz2.so.1.0.2 libbz2.so)
- (cd $(STAGING_DIR)/lib/; ln -sf libbz2.so.1.0.2 libbz2.so.1.0)
+ cp $(BZIP2_DIR)/bzlib.h $(STAGING_DIR)/include/
+ cp $(BZIP2_DIR)/libbz2.so.1.0.2 $(STAGING_DIR)/lib/
+ cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/lib/
+ (cd $(STAGING_DIR)/lib/; ln -snf libbz2.so.1.0.2 libbz2.so)
+ (cd $(STAGING_DIR)/lib/; ln -snf libbz2.so.1.0.2 libbz2.so.1.0)
$(BZIP2_BINARY): $(STAGING_DIR)/lib/libbz2.so.1.0.2
$(TARGET_CONFIGURE_OPTS) \
@@ -52,22 +52,22 @@ $(BZIP2_TARGET_BINARY): $(BZIP2_BINARY)
rm -f $(TARGET_DIR)/usr/include/bzlib.h
cp $(BZIP2_DIR)/libbz2.so.1.0.2 $(TARGET_DIR)/usr/lib/
(cd $(TARGET_DIR)/usr/lib; \
- ln -sf libbz2.so.1.0.2 libbz2.so.1.0; \
- ln -sf libbz2.so.1.0.2 libbz2.so)
+ ln -snf libbz2.so.1.0.2 libbz2.so.1.0; \
+ ln -snf libbz2.so.1.0.2 libbz2.so)
(cd $(TARGET_DIR)/usr/bin; \
- ln -sf bzip2 bunzip2; \
- ln -sf bzip2 bzcat; \
- ln -sf bzdiff bzcmp; \
- ln -sf bzmore bzless; \
- ln -sf bzgrep bzegrep; \
- ln -sf bzgrep bzfgrep;)
+ ln -snf bzip2 bunzip2; \
+ ln -snf bzip2 bzcat; \
+ ln -snf bzdiff bzcmp; \
+ ln -snf bzmore bzless; \
+ ln -snf bzgrep bzegrep; \
+ ln -snf bzgrep bzfgrep;)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
$(TARGET_DIR)/usr/lib/libbz2.a: $(STAGING_DIR)/lib/libbz2.a
- mkdir -p $(TARGET_DIR)/usr/include
+ mkdir -p $(TARGET_DIR)/usr/include
cp $(STAGING_DIR)/include/bzlib.h $(TARGET_DIR)/usr/include/
- cp $(STAGING_DIR)/lib/libbz2.a $(TARGET_DIR)/usr/lib/
+ cp $(STAGING_DIR)/lib/libbz2.a $(TARGET_DIR)/usr/lib/
rm -f $(TARGET_DIR)/lib/libbz2.so
(cd $(TARGET_DIR)/usr/lib; \
ln -fs /usr/lib/libbz2.so.1.0 libbz2.so; \
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index 6647f856e..d13cd45a4 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -37,7 +37,7 @@ $(DHCP_DIR)/$(DHCP_RELAY_BINARY): $(DHCP_DIR)/.configured
$(STRIP) $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
$(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
- (cd $(TARGET_DIR)/var/lib; ln -sf /tmp dhcp)
+ (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
$(INSTALL) -m 0755 -D $(DHCP_DIR)/$(DHCP_SERVER_BINARY) $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
$(INSTALL) -m 0755 -D package/dhcp/init-server $(TARGET_DIR)/etc/init.d/S80dhcp-server
$(INSTALL) -m 0644 -D package/dhcp/dhcpd.conf $(TARGET_DIR)/etc/dhcp/dhcpd.conf
@@ -46,7 +46,7 @@ $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
$(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
- (cd $(TARGET_DIR)/var/lib; ln -sf /tmp dhcp)
+ (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
$(INSTALL) -m 0755 -D $(DHCP_DIR)/$(DHCP_RELAY_BINARY) $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY)
$(INSTALL) -m 0755 -D package/dhcp/init-relay $(TARGET_DIR)/etc/init.d/S80dhcp-relay
$(INSTALL) -m 0644 -D package/dhcp/default-relay $(TARGET_DIR)/etc/default/dhcp-relay
@@ -54,7 +54,7 @@ $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
$(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
- (cd $(TARGET_DIR)/var/lib; ln -sf /tmp dhcp)
+ (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
$(INSTALL) -m 0755 -D $(DHCP_DIR)/$(DHCP_CLIENT_BINARY) $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
$(INSTALL) -m 0644 -D package/dhcp/dhclient.conf $(TARGET_DIR)/etc/dhcp/dhclient.conf
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
diff --git a/package/dropbear_sshd/dropbear_sshd.mk b/package/dropbear_sshd/dropbear_sshd.mk
index d25518c5c..443ddbbb5 100644
--- a/package/dropbear_sshd/dropbear_sshd.mk
+++ b/package/dropbear_sshd/dropbear_sshd.mk
@@ -65,10 +65,10 @@ $(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY): $(DROPBEAR_SSHD_DIR)/$(DROPBEAR_SS
install -m 755 $(DROPBEAR_SSHD_DIR)/$(DROPBEAR_SSHD_BINARY) \
$(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY)
$(STRIP) $(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY)
- ln -sf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
- ln -sf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
- ln -sf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
- ln -sf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
+ ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
+ ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
+ ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
+ ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
cp $(DROPBEAR_SSHD_DIR)/S50dropbear $(TARGET_DIR)/etc/init.d/
chmod a+x $(TARGET_DIR)/etc/init.d/S50dropbear
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 6474b3126..40973a25d 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -68,7 +68,7 @@ $(TARGET_DIR)/$(FLEX_TARGET_BINARY): $(FLEX_DIR)/$(FLEX_BINARY)
-C $(FLEX_DIR) install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
- (cd $(TARGET_DIR)/usr/bin; ln -sf flex lex)
+ (cd $(TARGET_DIR)/usr/bin; ln -snf flex lex)
flex: uclibc $(TARGET_DIR)/$(FLEX_TARGET_BINARY)
diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index aadba5ec0..888482953 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -50,7 +50,7 @@ $(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY)
rm -f $(TARGET_DIR)/usr/bin/awk
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GAWK_DIR) install
rm -f $(TARGET_DIR)/usr/bin/gawk-*
- (cd $(TARGET_DIR)/usr/bin; ln -sf gawk awk)
+ (cd $(TARGET_DIR)/usr/bin; ln -snf gawk awk)
$(STRIP) $(TARGET_DIR)/usr/lib/awk/* > /dev/null 2>&1
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk
index 4646be8a8..0dd489f86 100644
--- a/package/gzip/gzip.mk
+++ b/package/gzip/gzip.mk
@@ -55,11 +55,11 @@ $(GZIP_TARGET_BINARY): $(GZIP_BINARY)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
(cd $(TARGET_DIR)/bin; \
- ln -sf gzip gunzip; \
- ln -sf gzip zcat; \
- ln -sf zdiff zcmp; \
- ln -sf zgrep zegrep; \
- ln -sf zgrep zfgrep;)
+ ln -snf gzip gunzip; \
+ ln -snf gzip zcat; \
+ ln -snf zdiff zcmp; \
+ ln -snf zgrep zegrep; \
+ ln -snf zgrep zfgrep;)
gzip: uclibc $(GZIP_TARGET_BINARY)
diff --git a/package/libfloat/libfloat.mk b/package/libfloat/libfloat.mk
index ed666344d..93587c6a8 100644
--- a/package/libfloat/libfloat.mk
+++ b/package/libfloat/libfloat.mk
@@ -40,12 +40,12 @@ $(LIBFLOAT_DIR)/libfloat.so.1: $(LIBFLOAT_DIR)/.unpacked $(TARGET_CC)
$(STAGING_DIR)/lib/libfloat.so: $(LIBFLOAT_DIR)/libfloat.so.1
cp -a $(LIBFLOAT_DIR)/libfloat.a $(STAGING_DIR)/lib/libfloat.a
cp -a $(LIBFLOAT_DIR)/libfloat.so.1 $(STAGING_DIR)/lib/libfloat.so.1
- (cd $(STAGING_DIR)/lib ; ln -sf libfloat.so.1 libfloat.so)
+ (cd $(STAGING_DIR)/lib ; ln -snf libfloat.so.1 libfloat.so)
cp -a $(LIBFLOAT_DIR)/libfloat.a $(TARGET_DIR)/usr/lib/libfloat.a
cp -a $(LIBFLOAT_DIR)/libfloat.so.1 $(TARGET_DIR)/lib/libfloat.so.1
$(STRIP) $(TARGET_DIR)/lib/libfloat.so.1 > /dev/null 2>&1
- (cd $(TARGET_DIR)/lib ; ln -sf libfloat.so.1 libfloat.so)
- (cd $(TARGET_DIR)/usr/lib ; ln -sf /lib/libfloat.so libfloat.so)
+ (cd $(TARGET_DIR)/lib ; ln -snf libfloat.so.1 libfloat.so)
+ (cd $(TARGET_DIR)/usr/lib ; ln -snf /lib/libfloat.so libfloat.so)
libfloat: $(STAGING_DIR)/lib/libfloat.so