summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-05-10 18:34:01 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-05-10 18:34:01 +0100
commitc3353430cba2f7072542ffd06c385cb189315682 (patch)
tree5bb60ecbd5f9ae024774ab23c992cc273fbf6995 /eclass
parentnet-p2p/monero: Create user/group for daemon (diff)
downloadportage-c3353430cba2f7072542ffd06c385cb189315682.tar.xz
eclass/linux-build: support sys-boot/raspberrypi-firmware
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-build.eclass15
1 files changed, 11 insertions, 4 deletions
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}-}"