]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
make.sh: Set TOOLCHAIN=1 in toolchain stage
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Apr 2017 17:02:21 +0000 (19:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 10:51:22 +0000 (11:51 +0100)
This allows better lfs files and fewer ifdefs in toolchain stage.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/make-functions

index 00478173a7849fd06b953b3d2ba1b52c85fc7cc7..0180ded179540b5ae782032554979c93884432f8 100644 (file)
@@ -567,7 +567,7 @@ lfsmake1() {
 
        cd $BASEDIR/lfs && \
                PATH="/tools/ccache/bin:/tools/bin:$PATH" \
-               make -f $*      BUILDTARGET=$BUILDTARGET \
+               make -f $* TOOLCHAIN=1 BUILDTARGET=$BUILDTARGET \
                                                CROSSTARGET="${CROSSTARGET}" \
                                                MACHINE=$MACHINE \
                                                MACHINE_TYPE=$MACHINE_TYPE \