Author: nico
Date: 2014-11-06 20:35:34 +0100 (Thu, 06 Nov 2014)
New Revision: 43205

Modified:
   trunk/package/base-files/Makefile
   trunk/package/kernel/ar7-atm/Makefile
   trunk/package/kernel/broadcom-wl/Makefile
   trunk/package/libs/toolchain/Makefile
   trunk/package/network/services/dropbear/Makefile
   trunk/package/network/services/hostapd/Makefile
   trunk/package/network/services/ppp/Makefile
   trunk/package/network/services/samba36/Makefile
   trunk/package/network/utils/curl/Makefile
   trunk/package/network/utils/wireless-tools/Makefile
   trunk/package/utils/e2fsprogs/Makefile
   trunk/package/utils/lua/Makefile
Log:
package/*: replace occurences of 'ln -sf' to '$(LN)'

Signed-off-by: Nicolas Thill <[email protected]>

Modified: trunk/package/base-files/Makefile
===================================================================
--- trunk/package/base-files/Makefile   2014-11-06 19:35:23 UTC (rev 43204)
+++ trunk/package/base-files/Makefile   2014-11-06 19:35:34 UTC (rev 43205)
@@ -133,11 +133,11 @@
        mkdir -p $(1)/sys
        mkdir -p $(1)/www
        mkdir -p $(1)/root
-       ln -sf /proc/mounts $(1)/etc/mtab
+       $(LN) /proc/mounts $(1)/etc/mtab
        rm -f $(1)/var
-       ln -sf /tmp $(1)/var
+       $(LN) /tmp $(1)/var
        mkdir -p $(1)/etc
-       ln -sf /tmp/resolv.conf /tmp/fstab /tmp/TZ $(1)/etc/
+       $(LN) /tmp/resolv.conf /tmp/fstab /tmp/TZ $(1)/etc/
 
        chmod 0600 $(1)/etc/shadow
        chmod 1777 $(1)/tmp

Modified: trunk/package/kernel/ar7-atm/Makefile
===================================================================
--- trunk/package/kernel/ar7-atm/Makefile       2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/kernel/ar7-atm/Makefile       2014-11-06 19:35:34 UTC (rev 
43205)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -87,13 +87,13 @@
 define KernelPackage/sangam-atm-annex-a/install
        mkdir -p $(1)/lib/firmware
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700mp.bin $(1)/lib/firmware/
-       ln -sf ar0700mp.bin $(1)/lib/firmware/ar0700xx.bin
+       $(LN) ar0700mp.bin $(1)/lib/firmware/ar0700xx.bin
 endef
 
 define KernelPackage/sangam-atm-annex-b/install
        mkdir -p $(1)/lib/firmware
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700db.bin $(1)/lib/firmware/
-       ln -sf ar0700db.bin $(1)/lib/firmware/ar0700xx.bin
+       $(LN) ar0700db.bin $(1)/lib/firmware/ar0700xx.bin
 endef
 
 $(eval $(call KernelPackage,sangam-atm-annex-a))

Modified: trunk/package/kernel/broadcom-wl/Makefile
===================================================================
--- trunk/package/kernel/broadcom-wl/Makefile   2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/kernel/broadcom-wl/Makefile   2014-11-06 19:35:34 UTC (rev 
43205)
@@ -166,8 +166,8 @@
 define Package/nas/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/nas $(1)/usr/sbin/
-       ln -sf nas $(1)/usr/sbin/nas4not
-       ln -sf nas $(1)/usr/sbin/nas4wds
+       $(LN) nas $(1)/usr/sbin/nas4not
+       $(LN) nas $(1)/usr/sbin/nas4wds
 endef
 
 $(eval $(call KernelPackage,brcm-wl))

Modified: trunk/package/libs/toolchain/Makefile
===================================================================
--- trunk/package/libs/toolchain/Makefile       2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/libs/toolchain/Makefile       2014-11-06 19:35:34 UTC (rev 
43205)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2012 OpenWrt.org
+# Copyright (C) 2007-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -427,7 +427,7 @@
   define Package/eglibc/install
        $(CP) ./eglibc-files/* $(1)/
        rm -f $(1)/etc/localtime
-       ln -sf /tmp/localtime $(1)/etc/localtime
+       $(LN) /tmp/localtime $(1)/etc/localtime
        $(INSTALL_DIR) $(1)/lib
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/ld*.so.* \
@@ -476,7 +476,7 @@
        $(CP) \
                $(TOOLCHAIN_DIR)/lib/libc.so* \
                $(1)/lib/
-       ln -s ../../lib/$(LD_MUSL_NAME) $(1)/usr/bin/ldd
+       $(LN) ../../lib/$(LD_MUSL_NAME) $(1)/usr/bin/ldd
   endef
 
   define Package/libc/install

Modified: trunk/package/network/services/dropbear/Makefile
===================================================================
--- trunk/package/network/services/dropbear/Makefile    2014-11-06 19:35:23 UTC 
(rev 43204)
+++ trunk/package/network/services/dropbear/Makefile    2014-11-06 19:35:34 UTC 
(rev 43205)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -107,10 +107,10 @@
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/dropbearmulti $(1)/usr/sbin/dropbear
        $(INSTALL_DIR) $(1)/usr/bin
-       ln -sf ../sbin/dropbear $(1)/usr/bin/scp
-       ln -sf ../sbin/dropbear $(1)/usr/bin/ssh
-       ln -sf ../sbin/dropbear $(1)/usr/bin/dbclient
-       ln -sf ../sbin/dropbear $(1)/usr/bin/dropbearkey
+       $(LN) ../sbin/dropbear $(1)/usr/bin/scp
+       $(LN) ../sbin/dropbear $(1)/usr/bin/ssh
+       $(LN) ../sbin/dropbear $(1)/usr/bin/dbclient
+       $(LN) ../sbin/dropbear $(1)/usr/bin/dropbearkey
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_DATA) ./files/dropbear.config $(1)/etc/config/dropbear
        $(INSTALL_DIR) $(1)/etc/init.d

Modified: trunk/package/network/services/hostapd/Makefile
===================================================================
--- trunk/package/network/services/hostapd/Makefile     2014-11-06 19:35:23 UTC 
(rev 43204)
+++ trunk/package/network/services/hostapd/Makefile     2014-11-06 19:35:34 UTC 
(rev 43205)
@@ -372,8 +372,8 @@
        $(call Install/hostapd,$(1))
        $(call Install/supplicant,$(1))
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/wpad $(1)/usr/sbin/
-       ln -sf wpad $(1)/usr/sbin/hostapd
-       ln -sf wpad $(1)/usr/sbin/wpa_supplicant
+       $(LN) wpad $(1)/usr/sbin/hostapd
+       $(LN) wpad $(1)/usr/sbin/wpa_supplicant
 endef
 Package/wpad-mini/install = $(Package/wpad/install)
 

Modified: trunk/package/network/services/ppp/Makefile
===================================================================
--- trunk/package/network/services/ppp/Makefile 2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/network/services/ppp/Makefile 2014-11-06 19:35:34 UTC (rev 
43205)
@@ -191,7 +191,7 @@
        $(INSTALL_CONF) ./files/etc/ppp/chap-secrets $(1)/etc/ppp/
        $(INSTALL_DATA) ./files/etc/ppp/filter $(1)/etc/ppp/
        $(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/
-       ln -sf /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf
+       $(LN) /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf
        $(INSTALL_DIR) $(1)/lib/netifd/proto
        $(INSTALL_BIN) ./files/ppp.sh $(1)/lib/netifd/proto/
        $(INSTALL_BIN) ./files/lib/netifd/ppp-up $(1)/lib/netifd/

Modified: trunk/package/network/services/samba36/Makefile
===================================================================
--- trunk/package/network/services/samba36/Makefile     2014-11-06 19:35:23 UTC 
(rev 43204)
+++ trunk/package/network/services/samba36/Makefile     2014-11-06 19:35:34 UTC 
(rev 43205)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2012 OpenWrt.org
+# Copyright (C) 2007-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -135,9 +135,9 @@
        $(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_BIN)/samba_multicall $(1)/usr/sbin
-       ln -sf samba_multicall $(1)/usr/sbin/smbd
-       ln -sf samba_multicall $(1)/usr/sbin/nmbd
-       ln -sf samba_multicall $(1)/usr/sbin/smbpasswd
+       $(LN) samba_multicall $(1)/usr/sbin/smbd
+       $(LN) samba_multicall $(1)/usr/sbin/nmbd
+       $(LN) samba_multicall $(1)/usr/sbin/smbpasswd
 endef
 
 define Package/samba36-client/install

Modified: trunk/package/network/utils/curl/Makefile
===================================================================
--- trunk/package/network/utils/curl/Makefile   2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/network/utils/curl/Makefile   2014-11-06 19:35:34 UTC (rev 
43205)
@@ -145,7 +145,7 @@
        $(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/
        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/curl-config
        [ -n "$(TARGET_LDFLAGS)" ] && $(SED) 's#$(TARGET_LDFLAGS)##g' 
$(1)/usr/lib/pkgconfig/libcurl.pc || true
-       ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/
+       $(LN) $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/
 endef
 
 define Package/curl/install

Modified: trunk/package/network/utils/wireless-tools/Makefile
===================================================================
--- trunk/package/network/utils/wireless-tools/Makefile 2014-11-06 19:35:23 UTC 
(rev 43204)
+++ trunk/package/network/utils/wireless-tools/Makefile 2014-11-06 19:35:34 UTC 
(rev 43205)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -73,14 +73,14 @@
        $(CP) $(PKG_BUILD_DIR)/{iwlib,wireless}.h $(1)/usr/include/
        mkdir -p $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/libiw.so* $(1)/usr/lib/
-       ln -sf libiw.so.$(PKG_VERSION) $(1)/usr/lib/libiw.so
+       $(LN) libiw.so.$(PKG_VERSION) $(1)/usr/lib/libiw.so
 endef
 
 define Package/wireless-tools/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iwconfig $(1)/usr/sbin/
-       ln -sf iwconfig $(1)/usr/sbin/iwlist
-       ln -sf iwconfig $(1)/usr/sbin/iwpriv
+       $(LN) iwconfig $(1)/usr/sbin/iwlist
+       $(LN) iwconfig $(1)/usr/sbin/iwpriv
 endef
 
 define Package/libiw/install

Modified: trunk/package/utils/e2fsprogs/Makefile
===================================================================
--- trunk/package/utils/e2fsprogs/Makefile      2014-11-06 19:35:23 UTC (rev 
43204)
+++ trunk/package/utils/e2fsprogs/Makefile      2014-11-06 19:35:34 UTC (rev 
43205)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 # Copyright 2010 Vertical Communications
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -106,9 +106,9 @@
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/e2fsck $(1)/usr/sbin/
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mke2fs $(1)/usr/sbin/
-       ln -sf mke2fs $(1)/usr/sbin/mkfs.ext2
-       ln -sf mke2fs $(1)/usr/sbin/mkfs.ext3
-       ln -sf mke2fs $(1)/usr/sbin/mkfs.ext4
+       $(LN) mke2fs $(1)/usr/sbin/mkfs.ext2
+       $(LN) mke2fs $(1)/usr/sbin/mkfs.ext3
+       $(LN) mke2fs $(1)/usr/sbin/mkfs.ext4
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libe2p.so.* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/etc/init.d

Modified: trunk/package/utils/lua/Makefile
===================================================================
--- trunk/package/utils/lua/Makefile    2014-11-06 19:35:23 UTC (rev 43204)
+++ trunk/package/utils/lua/Makefile    2014-11-06 19:35:34 UTC (rev 43205)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -149,7 +149,7 @@
        $(CP) $(PKG_INSTALL_DIR)/usr/include/lnum_config.h $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.{a,so*} $(1)/usr/lib/
-       ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so
+       $(LN) liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_BUILD_DIR)/etc/lua.pc $(1)/usr/lib/pkgconfig/
 endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to