X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=tools%2Fgmp%2FMakefile;h=3356ae9dd1c45bc97eff3f163394084cef0588f8;hp=42646716b5c992bd99fd4c21c87f02ee33df4ef1;hb=cf71c75acc0b4b9d86a46b3b07a3070d531c7b21;hpb=fd8969afc418b1ad3758a1a38f5eee3b272ed050 diff --git a/tools/gmp/Makefile b/tools/gmp/Makefile index 42646716b..3356ae9dd 100644 --- a/tools/gmp/Makefile +++ b/tools/gmp/Makefile @@ -15,28 +15,10 @@ PKG_MD5SUM:= include $(INCLUDE_DIR)/host-build.mk -define Build/Configure - (cd $(PKG_BUILD_DIR); \ - ./configure \ - --prefix=$(STAGING_DIR_HOST) \ - --build=$(GNU_HOST_NAME) \ - --enable-static \ - --disable-shared \ - --enable-cxx \ - --enable-mpbsd \ - ); -endef - -define Build/Compile - make -C $(PKG_BUILD_DIR) all -endef - -define Build/Install - make -C $(PKG_BUILD_DIR) install -endef - -define Build/Clean - rm -rf $(PKG_BUILD_DIR) -endef +HOST_CONFIGURE_ARGS += \ + --enable-static \ + --disable-shared \ + --enable-cxx \ + --enable-mpbsd $(eval $(call HostBuild))