Commit 7bd2f784 authored by Martyn Welch's avatar Martyn Welch

Add kernel build script

Add a build script for kernels so that we can remove this from Jenkins
configuration.
Signed-off-by: Martyn Welch's avatarMartyn Welch <martyn.welch@collabora.co.uk>
parent f52e16c3
#!/bin/bash
make x86_64_defconfig
if [ "$?" != "0" ]
then
echo "Failed to select x86_64_defconfig"
exit 1
fi
cat << EOF > .config
CONFIG_STAGING=y
CONFIG_GPIOLIB=y
CONFIG_VME_BUS=y
CONFIG_VME_CA91CX42=y
CONFIG_VME_TSI148=y
CONFIG_VME_FAKE=y
CONFIG_VMIVME_7805=y
CONFIG_VME_USER=y
CONFIG_VME_PIO2=y
EOF
make oldconfig
if [ "$?" != "0" ]
then
echo "Failed to update config"
exit 1
fi
make
if [ "$?" != "0" ]
then
echo "Failed to build kernel"
exit 1
fi
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment