X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fgmp%2FMakefile;h=3356ae9dd1c45bc97eff3f163394084cef0588f8;hb=caba8f52c5e22a6e2498e5b8bdb21dad796f5283;hp=42646716b5c992bd99fd4c21c87f02ee33df4ef1;hpb=fd8969afc418b1ad3758a1a38f5eee3b272ed050;p=openwrt-10.03%2F.git 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))