meta-agl-bsp: templates: update of nitrogen6x machine template
[AGL/meta-agl.git] / templates / machine / porter / 50_setup.sh
1 # setup proprietary gfx drivers and multimedia packages
2 pushd $METADIR 2>/dev/null
3
4 SETUP_MM_SCRIPT=$METADIR/meta-renesas/meta-rcar-gen2/scripts/setup_mm_packages.sh
5 if [ -f $SETUP_MM_SCRIPT ]; then
6         . $SETUP_MM_SCRIPT $MACHINE
7         copy_mm_packages $MACHINE
8         if [ $? -ne 0 ]; then
9                 echo "Copying gfx drivers and multimedia packages for '$MACHINE' failed."
10                 exit 1
11         fi
12 fi
13
14 popd 2>/dev/null