diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-17 08:03:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-17 08:03:59 +0000 |
commit | ef7784a62d2ecd681b37aee7040e71bbb34a51cd (patch) | |
tree | 92daacce553b174393de87921912ada04a4ecb6e /make/bash.mk | |
parent | 8e081ea611483c35a17e0a5c3e80a943b27ab0a2 (diff) | |
download | buildroot-novena-ef7784a62d2ecd681b37aee7040e71bbb34a51cd.tar.gz buildroot-novena-ef7784a62d2ecd681b37aee7040e71bbb34a51cd.zip |
standardize handling of GNU configure scripts
-Erik
Diffstat (limited to 'make/bash.mk')
-rw-r--r-- | make/bash.mk | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/make/bash.mk b/make/bash.mk index dc11c3609..c52795fb2 100644 --- a/make/bash.mk +++ b/make/bash.mk @@ -20,10 +20,23 @@ $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE) touch $(BASH_DIR)/.unpacked $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked - (cd $(BASH_DIR); autoconf; rm -f config.cache; CC=$(TARGET_CC1) \ - CFLAGS=-D_POSIX_SOURCE ./configure --prefix=/usr --disable-nls \ - --mandir=/junk --infodir=/junk \ - --with-curses --enable-alias \ + (cd $(BASH_DIR); rm -rf config.cache; \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-nls \ + --with-curses \ + --enable-alias \ ); touch $(BASH_DIR)/.configured @@ -40,7 +53,7 @@ bash: ncurses uclibc $(TARGET_DIR)/$(BASH_TARGET_BINARY) bash-clean: $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(BASH_DIR) uninstall - -make -C $(BASH_DIR) clean + -$(MAKE) -C $(BASH_DIR) clean bash-dirclean: rm -rf $(BASH_DIR) |