summaryrefslogtreecommitdiffstats
path: root/tools/genext2fs
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-01-15 11:43:13 +0000
committerJohn Crispin <john@openwrt.org>2012-01-15 11:43:13 +0000
commitccb6b0a063a4133ac59c811476b670c7d66f84ed (patch)
tree6a897cd4b2dfd787d1b4da763623b8157945324a /tools/genext2fs
parentf9e41adc80d0492ff9c94b4b660ac9ac8a6cae02 (diff)
downloadmaster-31e0f0ae-ccb6b0a063a4133ac59c811476b670c7d66f84ed.tar.gz
master-31e0f0ae-ccb6b0a063a4133ac59c811476b670c7d66f84ed.tar.bz2
master-31e0f0ae-ccb6b0a063a4133ac59c811476b670c7d66f84ed.zip
tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
Diffstat (limited to 'tools/genext2fs')
-rw-r--r--tools/genext2fs/Makefile36
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) \