aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine/ebisu/50_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'templates/machine/ebisu/50_setup.sh')
-rw-r--r--templates/machine/ebisu/50_setup.sh20
1 files changed, 16 insertions, 4 deletions
diff --git a/templates/machine/ebisu/50_setup.sh b/templates/machine/ebisu/50_setup.sh
index abd2a33af..0267e1279 100644
--- a/templates/machine/ebisu/50_setup.sh
+++ b/templates/machine/ebisu/50_setup.sh
@@ -1,10 +1,22 @@
# 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
+COPY_SCRIPT="$METADIR/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh"
+EXTRACT_DIR=$METADIR/binary-tmp
+
+if [ ! -d $EXTRACT_DIR ]; then
+ echo "ERROR: $EXTRACT_DIR does not exist." && exit 1
+else
+ [ -z "$(ls -A $EXTRACT_DIR)" ] && echo "ERROR: $EXTRACT_DIR is empty." && exit 1
+fi
+
+if [ -f $COPY_SCRIPT ]; then
+ cd $METADIR/bsp/meta-renesas-rcar-gen3/
+ $COPY_SCRIPT $EXTRACT_DIR
+ cd ..
+else
+ echo "Script to copy Renesas proprietary drivers for $MACHINE not found."
+ exit 1
fi
popd 2>/dev/null