From c3353430cba2f7072542ffd06c385cb189315682 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Fri, 10 May 2019 18:34:01 +0100 Subject: eclass/linux-build: support sys-boot/raspberrypi-firmware --- eclass/linux-build.eclass | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'eclass') diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index f8976935..badc6ee7 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -179,10 +179,17 @@ _linux-build_src_prepare_build() { local -a BOOTLOADERS=() - BOOTLOADERS+=( - sys-boot/grub:0 /boot/grub/grub.conf - sys-boot/syslinux:0 /boot/extlinux/extlinux.conf - ) + case "${ARCH}" in + amd64|x86) + BOOTLOADERS+=( + sys-boot/grub:0 /boot/grub/grub.conf + sys-boot/syslinux:0 /boot/extlinux/extlinux.conf + ) ;; + arm|arm64) + BOOTLOADERS+=( + sys-boot/raspberrypi-firmware /boot/config.txt + ) ;; + esac KV_INSTALLED="$(best_version ${CATEGORY}/${PN}:${SLOT})" KV_INSTALLED="${KV_INSTALLED/#${CATEGORY}\/${PN}-}" -- cgit v1.2.3