From: Michael Tremer Date: Mon, 15 Jun 2009 07:32:02 +0000 (+0200) Subject: Added file to toolchain. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28bdd57891205d7bfc5725430a770be8dfd05e3f;p=ipfire-3.x.git Added file to toolchain. --- diff --git a/lfs/file b/lfs/file index 1ca9844f2..b51da945f 100644 --- a/lfs/file +++ b/lfs/file @@ -66,7 +66,9 @@ info: install: $(OBJECT) -package: +packages: $(PACKAGES) + +$(PACKAGES): $(OBJECT) @$(DO_PACKAGE) $(objects): @@ -79,6 +81,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)" "base" cd $(DIR_APP) && \ ./configure \ $(CONFIGURE_ARCH) \ @@ -88,6 +102,7 @@ $(OBJECT): $(objects) cd $(DIR_APP) && make install rm -vf /usr/lib/libmagic.la +endif @rm -rf $(DIR_APP) @$(POSTBUILD)