diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-24 13:06:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-24 13:06:27 +0000 |
commit | 85696174118dfa5ac1f096fcd31c04fe1cc97e8d (patch) | |
tree | 024c3c84d25b202ceb0e717f126c2d438b2182e5 /make/bash.mk | |
parent | 31f08cf32d05756b3e2ba3754b1141b0ebfe3a43 (diff) | |
download | buildroot-novena-85696174118dfa5ac1f096fcd31c04fe1cc97e8d.tar.gz buildroot-novena-85696174118dfa5ac1f096fcd31c04fe1cc97e8d.zip |
Fixup bash cross compile
Diffstat (limited to 'make/bash.mk')
-rw-r--r-- | make/bash.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/bash.mk b/make/bash.mk index b7c054734..302244c65 100644 --- a/make/bash.mk +++ b/make/bash.mk @@ -21,9 +21,11 @@ $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE) $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked (cd $(BASH_DIR); rm -rf config.cache; \ - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ + PATH=$(STAGING_DIR)/bin:$$PATH \ + CC=$(TARGET_CC) CC_FOR_BUILD=$(HOSTCC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ @@ -41,7 +43,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked touch $(BASH_DIR)/.configured $(BASH_DIR)/$(BASH_BINARY): $(BASH_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(BASH_DIR) + $(MAKE) CC=$(TARGET_CC) CC_FOR_BUILD=$(HOSTCC) -C $(BASH_DIR) $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install |