diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 04:37:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 04:37:20 +0000 |
commit | 800e84cc0ff36cfbc254ec9681d8731a4fd480f1 (patch) | |
tree | 8497134d453d336d68b5dbf67d9b6b719ed2145e /tools/genext2fs | |
parent | 9dd62009270ca154e79ce4ae0b135c7feec7253d (diff) |
build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/genext2fs')
-rw-r--r-- | tools/genext2fs/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/genext2fs/Makefile b/tools/genext2fs/Makefile index 5878b5c04..279c40bb5 100644 --- a/tools/genext2fs/Makefile +++ b/tools/genext2fs/Makefile @@ -17,8 +17,8 @@ PKG_MD5SUM:=b7b6361bcce2cedff1ae437fadafe53b include $(INCLUDE_DIR)/host-build.mk -define Build/Configure - ( cd $(PKG_BUILD_DIR); \ +define Host/Configure + ( cd $(HOST_BUILD_DIR); \ ./configure \ --target=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ @@ -38,17 +38,17 @@ define Build/Configure ) endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ +define Host/Compile + $(MAKE) -C $(HOST_BUILD_DIR) \ CFLAGS="$(HOST_CFLAGS) -include getline.h" \ all endef -define Build/Install - install -m0755 $(PKG_BUILD_DIR)/genext2fs $(STAGING_DIR_HOST)/bin/ +define Host/Install + install -m0755 $(HOST_BUILD_DIR)/genext2fs $(STAGING_DIR_HOST)/bin/ endef -define Build/Clean +define Host/Clean rm -f $(STAGING_DIR_HOST)/bin/genext2fs endef |