#!/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: # Information about this package: # This is the last Kernel with working 'sleep': #export VERSION=2.6.14.6 #export BUILD=2 # export BUILD=${BUILD:-1} export VERSION=${VERSION:-2.6.19.1} export PKGSERIES=a export ARCH=arm 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