diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-09-10 09:56:42 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-09-10 09:56:42 +0000 |
commit | 7ea65271906c7ad9b742a4cfd17231045387769e (patch) | |
tree | d4f9544e035e28662a9c4283378298bd6918e970 /toolchain | |
parent | d5fa051bb7f1c0ef271bef3ec8b0f7881a567368 (diff) | |
download | master-187ad058-7ea65271906c7ad9b742a4cfd17231045387769e.tar.gz master-187ad058-7ea65271906c7ad9b742a4cfd17231045387769e.tar.bz2 master-187ad058-7ea65271906c7ad9b742a4cfd17231045387769e.zip |
override default configure to use --target=host and --build=host (closes: #760)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4779 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/ext2fs/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/toolchain/ext2fs/Makefile b/toolchain/ext2fs/Makefile index 0bd24f8fa9..eebf7a2c88 100644 --- a/toolchain/ext2fs/Makefile +++ b/toolchain/ext2fs/Makefile @@ -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 |