summaryrefslogtreecommitdiffstats
path: root/templates/machine/h3ulcb-kf/50_setup.sh
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-30 19:13:11 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-07-07 18:22:48 +0000
commitcb5914968796d91c5b927b33f8eab29fb0bf76ce (patch)
tree5a71bbe4dfb2d31c551d4272e2ddff1ebef7430c /templates/machine/h3ulcb-kf/50_setup.sh
parent728fae43fc82e73c3f369777497279023b140993 (diff)
Refactor the h3ulcb machine templates
This splits the machine templates for the h3 into three: - h3ulcb = plain h3ulcb with graphics driver package - h3ulcb-nogfx = plain h3ulcb without graphics driver package - h3ulcb-kf = h3ulcb with kingfisher baseboard and graphics driver package This improves maintainability of the h3ulcb machine targets. Bug-AGL: SPEC-3443 Change-Id: Ibca5e7615ca5bc467ec46d4564f42363a2a5466c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24912 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'templates/machine/h3ulcb-kf/50_setup.sh')
-rw-r--r--templates/machine/h3ulcb-kf/50_setup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/machine/h3ulcb-kf/50_setup.sh b/templates/machine/h3ulcb-kf/50_setup.sh
new file mode 100644
index 000000000..abd2a33af
--- /dev/null
+++ b/templates/machine/h3ulcb-kf/50_setup.sh
@@ -0,0 +1,10 @@
+# setup proprietary gfx drivers and multimedia packages
+pushd $METADIR 2>/dev/null
+
+SETUP_MM_SCRIPT=$METADIR/meta-agl/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
+if [ -f $SETUP_MM_SCRIPT ]; then
+ . $SETUP_MM_SCRIPT
+ copy_mm_packages
+fi
+
+popd 2>/dev/null