rpi-kernel: mkknlimg is part of the git repo now.
This commit is contained in:
parent
5a17b863c6
commit
071ecc8c6d
|
@ -37,8 +37,6 @@ mutable_files="
|
|||
/usr/lib/modules/${_kernver}/modules.devname"
|
||||
|
||||
pre_configure() {
|
||||
$XBPS_FETCH_CMD https://raw.githubusercontent.com/raspberrypi/tools/master/mkimage/mkknlimg
|
||||
chmod +x mkknlimg
|
||||
# Remove .git directory, otherwise scripts/setkernelversion.sh
|
||||
# modifies KERNELRELEASE and appends + to it.
|
||||
rm -rf .git
|
||||
|
@ -83,10 +81,10 @@ do_install() {
|
|||
# Generate kernel.img and install it to destdir.
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv7l*)
|
||||
./mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel7.img
|
||||
scripts/mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel7.img
|
||||
;;
|
||||
armv6l*)
|
||||
./mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel.img
|
||||
scripts/mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel.img
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue