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/gawk.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/gawk.mk')
-rw-r--r-- | make/gawk.mk | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/make/gawk.mk b/make/gawk.mk index 84671a6fe..f801f7ffc 100644 --- a/make/gawk.mk +++ b/make/gawk.mk @@ -20,22 +20,20 @@ $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE) touch $(GAWK_DIR)/.unpacked $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked - (cd $(GAWK_DIR); rm -f config.cache; CC=$(TARGET_CC1) \ - CFLAGS=-D_POSIX_SOURCE ./configure \ + (cd $(GAWK_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 \ - --sysconfdir=/etc \ --libexecdir=/usr/lib \ + --sysconfdir=/etc \ --datadir=/usr/share \ - --libdir=/usr/lib \ --localstatedir=/var \ - --mandir=/junk \ - --infodir=/junk \ - --includedir=$(STAGING_DIR)/include \ - --oldincludedir=$(STAGING_DIR)/usr/include \ + --mandir=/usr/man \ + --infodir=/usr/info \ --disable-nls \ ); touch $(GAWK_DIR)/.configured @@ -51,7 +49,7 @@ gawk: uclibc $(TARGET_DIR)/$(GAWK_TARGET_BINARY) gawk-clean: $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(GAWK_DIR) uninstall - -make -C $(GAWK_DIR) clean + -$(MAKE) -C $(GAWK_DIR) clean gawk-dirclean: rm -rf $(GAWK_DIR) |