Files
linux-legacy/make-deb.sh

18 lines
376 B
Bash
Raw Permalink Normal View History

#!/bin/bash -ex
. toolchain.sh
target=$1
if [ "x${target}" == "x" ]; then
target="kernel_image"
fi
packagedate=$(date +%Y.%m)
if [ ! -e .config ]; then
./config.sh
fi
V=1 CROSS_SUFFIX="${version}" fakeroot make-kpkg --uc --us --initrd --cross-compile ${toolchain} --subarch efikamx --jobs=${numjobs} --rootcmd=fakeroot --arch armel --revision ${packagedate} ${target}