-
Notifications
You must be signed in to change notification settings - Fork 564
Home
Robert Nelson edited this page Oct 4, 2015
·
6 revisions
This is the home of the official BeagleBoard and BeagleBone kernels. Priority is given to getting things in the Linux kernel mainline, but we ship with these kernels with additional features and testing. The goal is to minimize the deltas over time.
Check out the branch or tag you want to build:
$ git checkout 4.1.4-ti-r9 -b tmp
Then issue the following two commands:
make ARCH=arm bb.org_defconfig
make ARCH=arm CROSS_COMPILE="arm-linux-gnueabihf-" KBUILD_DEBARCH=armhf \
KDEB_SOURCENAME=linux-upstream KDEB_CHANGELOG_DIST=unstable \
LOCALVERSION=-cross KDEB_PKGVERSION=1cross deb-pkg
Note that if you've been using Robert Nelson’s build_deb.sh script, it installs the cross compiler under bb-kernel/dl/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
, you might want to use this command instead (be sure to update the path to match your specific installation):
make ARCH=arm KBUILD_DEBARCH=armhf \
CROSS_COMPILE="/path/to/bb-kernel/dl/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" \
KDEB_SOURCENAME=linux-upstream KDEB_CHANGELOG_DIST=unstable \
LOCALVERSION=-cross KDEB_PKGVERSION=1cross deb-pkg