X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fglibc-ports%2FMakefile;h=c95709cc9a79ec1d9ec086bf3d0f5e761f1222eb;hb=ee48697bb6cbfa53f47d3333718750fc236fcca7;hp=d9e5d0d7f56632149b9abcaa94b50789a53bd748;hpb=42b028fa14d85fae9234e62867466d8c41821f07;p=openwrt-10.03%2F.git diff --git a/toolchain/glibc-ports/Makefile b/toolchain/glibc-ports/Makefile index d9e5d0d7f..c95709cc9 100644 --- a/toolchain/glibc-ports/Makefile +++ b/toolchain/glibc-ports/Makefile @@ -24,33 +24,28 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PATCH_DIR:=./patches/$(PKG_VERSION) -STAGING_DIR_HOST:=$(TOOLCHAIN_DIR) -BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN) +include $(INCLUDE_DIR)/toolchain-build.mk -override CONFIG_AUTOREBUILD= +HOST_STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_built +HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_installed -include $(INCLUDE_DIR)/host-build.mk - -STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_built -STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_installed - -define Build/Prepare -$(call Build/Prepare/Default) +define Host/Prepare +$(call Host/Prepare/Default) ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) endef -define Build/Configure +define Host/Configure endef -define Build/Compile +define Host/Compile endef -define Build/Install +define Host/Install endef -define Build/Clean +define Host/Clean rm -rf \ - $(PKG_BUILD_DIR) \ + $(HOST_BUILD_DIR) \ $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) endef