19 lines
330 B
Bash
Executable File
19 lines
330 B
Bash
Executable File
#!/bin/sh
|
|
if [ -z "$1" ]; then
|
|
echo armv5tel-do-kernel-build.sh KVERSION
|
|
exit
|
|
fi
|
|
|
|
VER=$1
|
|
BASEDIR=$(dirname $0)
|
|
|
|
source $BASEDIR/armv5tel-kernels
|
|
|
|
EMERGE="virtual/linux-sources"
|
|
|
|
for package in ${PACKAGES}; do
|
|
EMERGE="$EMERGE =${package}-${VER}"
|
|
done
|
|
|
|
FEATURES="-sandbox -userpriv -usersandbox" emerge $EMERGE
|
|
eit add $EMERGE |