From 800e84cc0ff36cfbc254ec9681d8731a4fd480f1 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 22 Feb 2009 04:37:20 +0000 Subject: 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 --- tools/gmp/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tools/gmp/Makefile') diff --git a/tools/gmp/Makefile b/tools/gmp/Makefile index 42646716b5..4c6fac425f 100644 --- a/tools/gmp/Makefile +++ b/tools/gmp/Makefile @@ -15,8 +15,8 @@ PKG_MD5SUM:= include $(INCLUDE_DIR)/host-build.mk -define Build/Configure - (cd $(PKG_BUILD_DIR); \ +define Host/Configure + (cd $(HOST_BUILD_DIR); \ ./configure \ --prefix=$(STAGING_DIR_HOST) \ --build=$(GNU_HOST_NAME) \ @@ -27,16 +27,16 @@ define Build/Configure ); endef -define Build/Compile - make -C $(PKG_BUILD_DIR) all +define Host/Compile + make -C $(HOST_BUILD_DIR) all endef -define Build/Install - make -C $(PKG_BUILD_DIR) install +define Host/Install + make -C $(HOST_BUILD_DIR) install endef -define Build/Clean - rm -rf $(PKG_BUILD_DIR) +define Host/Clean + rm -rf $(HOST_BUILD_DIR) endef $(eval $(call HostBuild)) -- cgit v1.2.3