#!/bin/sh
set -e
makeflags=-j6

mkdir linux
(
	cd linux
	make O=$(pwd) ARCH=vax CROSS_COMPILE=vax-dec-linux-musl- -C "$srcdir"/linux-2.6.12 ka650_defconfig
	make O=$(pwd) ARCH=vax CROSS_COMPILE=vax-dec-linux-musl- -C "$srcdir"/linux-2.6.12 $makeflags diskboot
	cd ..
)
