summaryrefslogtreecommitdiffstats
path: root/make/sed.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-17 08:03:59 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-17 08:03:59 +0000
commitef7784a62d2ecd681b37aee7040e71bbb34a51cd (patch)
tree92daacce553b174393de87921912ada04a4ecb6e /make/sed.mk
parent8e081ea611483c35a17e0a5c3e80a943b27ab0a2 (diff)
downloadbuildroot-novena-ef7784a62d2ecd681b37aee7040e71bbb34a51cd.tar.gz
buildroot-novena-ef7784a62d2ecd681b37aee7040e71bbb34a51cd.zip
standardize handling of GNU configure scripts
-Erik
Diffstat (limited to 'make/sed.mk')
-rw-r--r--make/sed.mk18
1 files changed, 15 insertions, 3 deletions
diff --git a/make/sed.mk b/make/sed.mk
index f62d70d06..a6af02e4a 100644
--- a/make/sed.mk
+++ b/make/sed.mk
@@ -20,9 +20,21 @@ $(SED_DIR)/.unpacked: $(DL_DIR)/$(SED_SOURCE)
touch $(SED_DIR)/.unpacked
$(SED_DIR)/.configured: $(SED_DIR)/.unpacked
- (cd $(SED_DIR); autoconf; rm -f config.cache; CC=$(TARGET_CC1) \
- CFLAGS=-D_POSIX_SOURCE ./configure --prefix=/usr --disable-nls \
- --mandir=/junk --infodir=/junk \
+ (cd $(SED_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 \
);
touch $(SED_DIR)/.configured