#!/bin/bash # # arm/build # Check package dependencies, set metadata and launch # package build script. # by Stuart Winter # source /usr/share/slackdev/buildkit.sh # Package metadata: export BUILD=${BUILD:-2} #export VERSION=${VERSION:-2.6.24.2} export VERSION=${VERSION:-2.6.23.17} export PKGSERIES=a export ARCH=arm # For ARMedslack armv5tel port: ARMv5, Little Endian, Soft-Float, EABI # export ARCH=armv5tel export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz # Assume we want to build a RiscPC Kernel if we did not # specify any particular arch type: if [ -z "$1" ]; then # For this package only, we use branded hardware names as the $ARCH: riscpc, iyonix, cats, netwinder, riscstation export SLKARCH=riscpc else export SLKARCH=$1 fi export PACKAGE=kernel_$SLKARCH # Launch the package build script: ( ./kernel-2.6.SlackBuild ) >& /dev/stdout | tee build.${ARCH}_${SLKARCH}.log # Compress the build log: bzip2 -v9f build.${ARCH}_${SLKARCH}.log