X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=make.sh;h=f8a2e5b34ab2810f76e03b23ed13e04b03726074;hp=37fafdb4f4087de036289040d02675b0b394a37a;hb=82e295c23eeaebe86c75ef39e4cd217489d29497;hpb=c7ded4d5ad1f29017d54572eaf44e2c5b30f90ac diff --git a/make.sh b/make.sh index 37fafdb4f4..f8a2e5b34a 100755 --- a/make.sh +++ b/make.sh @@ -25,8 +25,8 @@ NAME="IPFire" # Software name SNAME="ipfire" # Short name VERSION="2.19" # Version number -CORE="112" # Core Level (Filename) -PAKFIRE_CORE="112" # Core Level (PAKFIRE) +CORE="117" # Core Level (Filename) +PAKFIRE_CORE="116" # Core Level (PAKFIRE) GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir @@ -62,13 +62,17 @@ export BASEDIR LOGFILE DIR_CHK=$BASEDIR/cache/check mkdir $BASEDIR/log/ 2>/dev/null -# Include funtions -. tools/make-functions - +# Load configuration file if [ -f .config ]; then . .config fi +# Include funtions +. tools/make-functions + +# Get the amount of memory in this build system +HOST_MEM=$(system_memory) + if [ -n "${BUILD_ARCH}" ]; then configure_build "${BUILD_ARCH}" elif [ -n "${TARGET_ARCH}" ]; then @@ -78,18 +82,6 @@ else configure_build "default" fi -if [ -z $EDITOR ]; then - for i in nano emacs vi; do - EDITOR=$(which $i 2>/dev/null) - if ! [ -z $EDITOR ]; then - export EDITOR=$EDITOR - break - fi - done - [ -z $EDITOR ] && exiterror "You should have installed an editor." -fi - - prepareenv() { ############################################################################ # # @@ -185,14 +177,6 @@ prepareenv() { # Setup environment set +h LC_ALL=POSIX - if [ -z $MAKETUNING ]; then - CPU_COUNT="$(getconf _NPROCESSORS_ONLN 2>/dev/null)" - if [ -z "${CPU_COUNT}" ]; then - CPU_COUNT=1 - fi - - MAKETUNING="-j$(( ${CPU_COUNT} * 2 + 1 ))" - fi export LFS LC_ALL CFLAGS CXXFLAGS MAKETUNING unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD @@ -497,6 +481,8 @@ buildipfire() { lfsmake2 libevent2 lfsmake2 libevent2-compat lfsmake2 expat + lfsmake2 apr + lfsmake2 aprutil lfsmake2 unbound lfsmake2 gnutls lfsmake2 bind @@ -546,6 +532,7 @@ buildipfire() { lfsmake2 web-user-interface lfsmake2 flag-icons lfsmake2 jquery + lfsmake2 bootstrap lfsmake2 arping lfsmake2 beep lfsmake2 dvdrtools @@ -624,6 +611,7 @@ buildipfire() { lfsmake2 openssh lfsmake2 fontconfig lfsmake2 dejavu-fonts-ttf + lfsmake2 ubuntu-font-family lfsmake2 freefont lfsmake2 pixman lfsmake2 cairo @@ -704,7 +692,6 @@ buildipfire() { lfsmake2 gnu-netcat lfsmake2 ncat lfsmake2 nmap - lfsmake2 ncftp lfsmake2 etherwake lfsmake2 bwm-ng lfsmake2 sysstat @@ -863,6 +850,8 @@ buildipfire() { lfsmake2 owncloud lfsmake2 bacula lfsmake2 batctl + lfsmake2 perl-Font-TTF + lfsmake2 perl-IO-String lfsmake2 perl-PDF-API2 lfsmake2 squid-accounting lfsmake2 pigz @@ -886,6 +875,8 @@ buildipfire() { lfsmake2 perl-common-sense lfsmake2 perl-inotify2 lfsmake2 perl-Net-IP + lfsmake2 wio + lfsmake2 iftop } buildinstaller() {