diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-15 02:19:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-15 02:19:11 +0000 |
commit | 74ad4e12c8182e70ec0eed7e029f6d70163a6a01 (patch) | |
tree | 4205d99c55e88e6fb452d98fc849e13a53351699 /toolchain | |
parent | 3f7d89fe6f2da45c2adb2f0e88e2e09b11242bb6 (diff) | |
download | buildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.tar.gz buildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.zip |
Change all instances of 'ln -sf' to 'ln -snf'
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-2.95.mk | 6 | ||||
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/toolchain/gcc/gcc-uclibc-2.95.mk b/toolchain/gcc/gcc-uclibc-2.95.mk index e5a36e4cc..acc5a6ed9 100644 --- a/toolchain/gcc/gcc-uclibc-2.95.mk +++ b/toolchain/gcc/gcc-uclibc-2.95.mk @@ -79,7 +79,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched mkdir -p $(GCC_BUILD_DIR1) -mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include # Important! Required for limits.h to be fixed. - ln -sf include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include + ln -snf include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include (cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ @@ -192,10 +192,10 @@ endif # Set up the symlinks to enable lying about target name. set -e; \ (cd $(STAGING_DIR); \ - ln -sf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ + ln -snf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ cd bin; \ for app in $(REAL_GNU_TARGET_NAME)-* ; do \ - ln -sf $${app} \ + ln -snf $${app} \ $(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \ done; \ ); diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 5aae70940..8c8329274 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -151,7 +151,7 @@ GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a mkdir -p $(GCC_BUILD_DIR2) # Important! Required for limits.h to be fixed. - ln -sf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include + ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include (cd $(GCC_BUILD_DIR2); PATH=$(TARGET_PATH) \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ @@ -184,10 +184,10 @@ endif # Set up the symlinks to enable lying about target name. set -e; \ (cd $(STAGING_DIR); \ - ln -sf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ + ln -snf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ cd bin; \ for app in $(REAL_GNU_TARGET_NAME)-* ; do \ - ln -sf $${app} \ + ln -snf $${app} \ $(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \ done; \ ); |