Merge commit 'origin/next'
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 27 Nov 2010 00:18:29 +0000 (01:18 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 27 Nov 2010 00:18:29 +0000 (01:18 +0100)
Conflicts:
make.sh

1  2 
make.sh

diff --combined make.sh
index fc3d9387781db19251a740e04ce1aab97ea7c767,24753ce9ce9d3eb41de3f31bd0eeb4db58267fed..d9abd2a4746d416499e8b67996cfa95001263c02
+++ b/make.sh
@@@ -24,7 -24,7 +24,7 @@@
  
  NAME="IPFire"                                                 # Software name
  SNAME="ipfire"                                                        # Short name
- VERSION="2.7"                                                 # Version number
+ VERSION="2.8test"                                             # Version number
  CORE="43"                                                     # Core Level (Filename)
  PAKFIRE_CORE="42"                                             # Core Level (PAKFIRE)
  GIT_BRANCH=`git status | head -n1 | cut -d" " -f4`            # Git Branch
@@@ -37,7 -37,7 +37,7 @@@ KVER=`grep --max-count=1 VER lfs/linux 
  MACHINE=`uname -m`
  GIT_TAG=$(git tag | tail -1)                                  # Git Tag
  GIT_LASTCOMMIT=$(git log | head -n1 | cut -d" " -f2 |head -c8)        # Last commit
- TOOLCHAINVER=3
+ TOOLCHAINVER=1
  IPFVER="full"                         # Which versions should be compiled? (full|devel)
  
  BUILDMACHINE=$MACHINE
@@@ -234,9 -234,12 +234,12 @@@ prepareenv() 
  }
  
  buildtoolchain() {
-     if [ "$MACHINE" = "x86_64" ]; then
+     if [ "$(uname -m)" = "x86_64" ]; then
          exiterror "Cannot build toolchain on x86_64. Please use the download."
      fi
+     if [ "$(uname -r | grep ipfire)" ]; then
+         exiterror "Cannot build toolchain on ipfire. Please use the download."
+     fi
  
      LOGFILE="$BASEDIR/log/_build.toolchain.log"
      export LOGFILE
@@@ -324,7 -327,6 +327,6 @@@ buildbase() 
      lfsmake2 man
      lfsmake2 mktemp
      lfsmake2 module-init-tools
-     lfsmake2 mtd
      lfsmake2 net-tools
      lfsmake2 patch
      lfsmake2 psmisc
@@@ -369,6 -371,22 +371,22 @@@ buildipfire() 
    ipfiremake e1000                    XEN=1
    ipfiremake e1000e                   XEN=1
    ipfiremake igb                      XEN=1
+   ipfiremake linux                    PAE=1
+   ipfiremake kqemu                    PAE=1
+   ipfiremake kvm-kmod                 PAE=1
+   ipfiremake v4l-dvb                  PAE=1
+   ipfiremake madwifi                  PAE=1
+   ipfiremake alsa                     PAE=1 KMOD=1
+   ipfiremake mISDN                    PAE=1
+   ipfiremake dahdi                    PAE=1 KMOD=1
+   ipfiremake cryptodev                        PAE=1
+   ipfiremake compat-wireless          PAE=1
+   ipfiremake r8169                    PAE=1
+   ipfiremake r8168                    PAE=1
+   ipfiremake r8101                    PAE=1
+   ipfiremake e1000                    PAE=1
+   ipfiremake e1000e                   PAE=1
+   ipfiremake igb                      PAE=1
    ipfiremake linux
    ipfiremake kqemu
    ipfiremake kvm-kmod
    ipfiremake pkg-config
    ipfiremake linux-atm
    ipfiremake cpio
-   ipfiremake klibc
-   ipfiremake mkinitcpio
-   ipfiremake udev                     KLIBC=1
+   installmake strip
+   ipfiremake dracut
    ipfiremake expat
    ipfiremake gdbm
    ipfiremake gmp
    ipfiremake pcre
    ipfiremake slang
    ipfiremake newt
+   ipfiremake attr
    ipfiremake libcap
    ipfiremake pciutils
    ipfiremake usbutils
    ipfiremake cdrtools
    ipfiremake dnsmasq
    ipfiremake dosfstools
-   ipfiremake squashfstools
    ipfiremake reiserfsprogs
    ipfiremake xfsprogs
    ipfiremake sysfsutils
    ipfiremake asterisk
    ipfiremake lcr
    ipfiremake usb_modeswitch
+   ipfiremake usb_modeswitch_data
    ipfiremake zerofree
    ipfiremake mdadm
    ipfiremake eject
    ipfiremake pound
    ipfiremake minicom
    ipfiremake ddrescue
+   ipfiremake tcl
    ipfiremake imspector
+   ipfiremake client175
    echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
    cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
    echo >> $BASEDIR/build/var/ipfire/firebuild
    echo >> $BASEDIR/build/var/ipfire/firebuild
    cat /proc/cpuinfo >> $BASEDIR/build/var/ipfire/firebuild
    echo $PAKFIRE_CORE > $BASEDIR/build/opt/pakfire/db/core/mine
 -  if [ "$GIT_BRANCH" = "next" ]; then
 +  if [ "$GIT_BRANCH" = "master" ]; then
        echo "$NAME $VERSION - (Development Build: $GIT_LASTCOMMIT)" > $BASEDIR/build/etc/system-release
    else
        echo "$NAME $VERSION - $GIT_BRANCH" > $BASEDIR/build/etc/system-release
@@@ -682,34 -704,10 +704,10 @@@ buildinstaller() 
    ipfiremake as86
    ipfiremake mbr
    ipfiremake memtest
-   installmake linux-libc-header
-   installmake binutils
-   ipfiremake uClibc                   PASS=1
-   ipfiremake gcc                      INST=1
-   installmake uClibc                  PASS=2
-   installmake gcc                     INST=2
-   installmake uClibc                  PASS=3
-   installmake busybox
-   installmake udev
-   installmake slang
-   installmake newt
-   installmake gettext
-   installmake kbd
-   installmake popt
-   installmake sysvinit
-   installmake misc-progs
-   installmake reiserfsprogs
-   installmake sysfsutils
-   installmake util-linux
-   installmake pciutils
-   installmake zlib
-   installmake mtd
-   installmake wget
-   installmake hwdata
-   installmake kudzu
-   installmake pcmciautils
-   installmake installer
-   installmake initrd
+   ipfiremake installer
+   cp -f $BASEDIR/doc/COPYING $BASEDIR/build/install/initrd/
+   installmake strip
+   ipfiremake initrd
  }
  
  buildpackages() {
    export LOGFILE
    echo "... see detailed log in _build.*.log files" >> $LOGFILE
  
-   installmake strip
    
    # Generating list of packages used
    echo -n "Generating packages list from logs" | tee -a $LOGFILE