override default configure to use --target=host and --build=host (closes: #760)

SVN-Revision: 4779
This commit is contained in:
Nicolas Thill 2006-09-10 09:56:42 +00:00
parent a2d6de33b5
commit f70d9decda
1 changed files with 21 additions and 0 deletions

View File

@ -19,6 +19,27 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/host-build.mk
define Build/Configure
( cd $(PKG_BUILD_DIR); \
./configure \
--target=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \
--program-suffix="" \
--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 \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) all
endef