mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-08 17:57:06 +00:00
Scripts to ease building the kernel and debian packages for the kernel
This commit is contained in:
7
arm-toolchain.sh
Executable file
7
arm-toolchain.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
archname="arm"
|
||||
arch="ARCH=${archname}"
|
||||
toolchain="arm-linux-gnueabi-"
|
||||
compiler="CROSS_COMPILE=${toolchain}"
|
||||
numjobs="16"
|
||||
jobs="-j${numjobs}"
|
||||
5
config.sh
Executable file
5
config.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
. arm-toolchain.sh
|
||||
|
||||
make ${arch} ${compiler} ${jobs} mx51_efikamx_defconfig
|
||||
13
make-deb.sh
Executable file
13
make-deb.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
. arm-toolchain.sh
|
||||
|
||||
target=$1
|
||||
|
||||
if [ "x${target}" == "x" ]; then
|
||||
target="kernel_image"
|
||||
fi
|
||||
|
||||
packagedate=$(date +%Y.%m)
|
||||
make-kpkg --uc --us --initrd --cross-compile ${toolchain} --subarch efikamx --jobs=${numjobs} --rootcmd=fakeroot --arch armel --revision ${packagedate} ${target}
|
||||
|
||||
Reference in New Issue
Block a user