aboutsummaryrefslogtreecommitdiff
path: root/package/bash
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 23:57:19 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 23:57:19 +0000
commit17facb94c576467ab8508832ec0f94765b0d6650 (patch)
treecf9dae54cf262690aa5bb6f0b6d9d48c42f14189 /package/bash
parent6452ee886f06b5b48e887bcec28e303563e83e14 (diff)
downloadbuildroot-17facb94c576467ab8508832ec0f94765b0d6650.tar.gz
buildroot-17facb94c576467ab8508832ec0f94765b0d6650.tar.bz2
Avoid error msg when TARGET_DIR/bin is created for the umpteenth time
Diffstat (limited to 'package/bash')
-rw-r--r--package/bash/bash.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/bash/bash.mk b/package/bash/bash.mk
index a7c0166071..bf8eda79cd 100644
--- a/package/bash/bash.mk
+++ b/package/bash/bash.mk
@@ -62,9 +62,9 @@ $(BASH_DIR)/$(BASH_BINARY): $(BASH_DIR)/.configured
$(MAKE1) CC=$(TARGET_CC) CC_FOR_BUILD="$(HOSTCC)" -C $(BASH_DIR)
$(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY)
+ mkdir -p $(TARGET_DIR)/bin
$(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install
rm -f $(TARGET_DIR)/bin/bash*
- -mkdir $(TARGET_DIR)/bin
mv $(TARGET_DIR)/usr/bin/bash* $(TARGET_DIR)/bin/
(cd $(TARGET_DIR)/bin; /bin/ln -fs bash sh)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \