mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Fix full-toolchain build on fedora14.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -54,7 +54,7 @@ endif
|
||||
else
|
||||
ifeq "$(PASS)" "1"
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)-tools1
|
||||
EXTRA_CONFIG = --prefix=/tools --disable-nls --disable-werror
|
||||
EXTRA_CONFIG = --prefix=/tools --disable-nls --disable-werror --disable-gprof
|
||||
EXTRA_MAKE = LDFLAGS="-all-static"
|
||||
EXTRA_INSTALL =
|
||||
else
|
||||
|
||||
4
lfs/make
4
lfs/make
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -43,7 +43,7 @@ ifeq "$(ROOT)" ""
|
||||
EXTRA_MAKE =
|
||||
EXTRA_INSTALL =
|
||||
else
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)-tools
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)-tools-pass$(PASS)
|
||||
EXTRA_CONFIG = --prefix=/tools --disable-nls
|
||||
EXTRA_MAKE =
|
||||
EXTRA_INSTALL =
|
||||
|
||||
3
make.sh
3
make.sh
@@ -247,6 +247,7 @@ buildtoolchain() {
|
||||
NATIVEGCC=`gcc --version | grep GCC | awk {'print $3'}`
|
||||
export NATIVEGCC GCCmajor=${NATIVEGCC:0:1} GCCminor=${NATIVEGCC:2:1} GCCrelease=${NATIVEGCC:4:1}
|
||||
lfsmake1 ccache PASS=1
|
||||
lfsmake1 make PASS=1
|
||||
lfsmake1 binutils PASS=1
|
||||
lfsmake1 gcc PASS=1
|
||||
export PATH=$BASEDIR/build/usr/local/bin:$BASEDIR/build/tools/bin:$PATH
|
||||
@@ -270,7 +271,7 @@ buildtoolchain() {
|
||||
lfsmake1 grep
|
||||
lfsmake1 gzip
|
||||
lfsmake1 m4
|
||||
lfsmake1 make
|
||||
lfsmake1 make PASS=2
|
||||
lfsmake1 patch
|
||||
lfsmake1 perl
|
||||
lfsmake1 sed
|
||||
|
||||
Reference in New Issue
Block a user