]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added autoconf and automake to toolchain.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Jul 2009 22:26:16 +0000 (00:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Jul 2009 22:26:16 +0000 (00:26 +0200)
lfs/autoconf
lfs/automake

index aff1431bc0a89e03cec38217771546d4fcb9cdf7..a0f88ecf75ca8226c9bac13ca79b3c55c0ec3b4c 100644 (file)
@@ -81,11 +81,24 @@ $(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)
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && make install
+endif
+
+ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr
        cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
+endif
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 07d02f9787784ffe11f9d77ae9e5f617716d3fb6..6f1620322dd54d45f6663b848912b86aad228761 100644 (file)
@@ -79,11 +79,25 @@ $(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)
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && make install
+endif
+
+
+ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
+endif
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)