diff options
author | John Crispin <blogic@openwrt.org> | 2012-01-15 11:43:13 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-01-15 11:43:13 +0000 |
commit | 1e0b48fafb133310de5e166adaf0c3957e7bee05 (patch) | |
tree | 5e1b24560a28f3d1faf6dc571355446688ffcdaa /tools/genext2fs | |
parent | 8f76568da91dbe989e5365a4a6d3f50847b1c755 (diff) | |
download | master-187ad058-1e0b48fafb133310de5e166adaf0c3957e7bee05.tar.gz master-187ad058-1e0b48fafb133310de5e166adaf0c3957e7bee05.tar.bz2 master-187ad058-1e0b48fafb133310de5e166adaf0c3957e7bee05.zip |
tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/genext2fs')
-rw-r--r-- | tools/genext2fs/Makefile | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/tools/genext2fs/Makefile b/tools/genext2fs/Makefile index 78416f2b3e..67fbef64e0 100644 --- a/tools/genext2fs/Makefile +++ b/tools/genext2fs/Makefile @@ -16,26 +16,22 @@ PKG_MD5SUM:=b7b6361bcce2cedff1ae437fadafe53b include $(INCLUDE_DIR)/host-build.mk -define Host/Configure - ( cd $(HOST_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 +HOST_CONFIGURE_ARGS = \ + --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 \ define Host/Compile $(MAKE) -C $(HOST_BUILD_DIR) \ |