Skip to content

Commit

Permalink
dronin: add a build script to make the kernel deb
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyle committed Sep 6, 2017
1 parent 6b67197 commit ba55f97
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

make clean

export PATH=$PATH:/home/mlyle/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
export CROSS_COMPILE="arm-linux-gnueabihf-"
export KERNEL=kernel7

make ARCH=arm bcm2709_defconfig

DEB_HOST_ARCH=armhf make-kpkg --rootcmd fakeroot --arch arm --cross-compile "$CROSS_COMPILE" --revision=1.0 --jobs 6 kernel_image kernel_headers

0 comments on commit ba55f97

Please sign in to comment.