X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=tools%2Fgmp%2FMakefile;h=3356ae9dd1c45bc97eff3f163394084cef0588f8;hp=42646716b5c992bd99fd4c21c87f02ee33df4ef1;hb=d3e60f6a62399bff238dbd08723278dba5f083ce;hpb=8f55d05579fecdc488f7eb7ef6a2518434647c50 diff --git a/tools/gmp/Makefile b/tools/gmp/Makefile index 42646716b5..3356ae9dd1 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))