From: Michael Tremer Date: Mon, 15 Jun 2009 07:35:43 +0000 (+0200) Subject: Added xz to toolchain. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e7a1eab5d791bbf52e804617588b2aa69c9998;p=ipfire-3.x.git Added xz to toolchain. --- diff --git a/lfs/xz b/lfs/xz index f271ede61..1d8f5bffd 100644 --- a/lfs/xz +++ b/lfs/xz @@ -73,7 +73,9 @@ info: install: $(OBJECT) -package: +packages: $(PACKAGES) + +$(PACKAGES): $(OBJECT) @$(DO_PACKAGE) $(objects): @@ -86,6 +88,18 @@ $(objects): $(OBJECT): $(objects) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + +ifeq "$(STAGE)" "toolchain" + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=$(TOOLS_DIR) \ + --disable-static + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install +endif + +ifeq "$(STAGE)" "$(SNAME)" cd $(DIR_APP) && \ ./configure \ $(CONFIGURE_ARCH) \ @@ -94,5 +108,7 @@ $(OBJECT): $(objects) cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install rm -vf /usr/lib/liblzma.la +endif + @rm -rf $(DIR_APP) @$(POSTBUILD)