3 ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20170125.zip"
4 ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20170125.zip"
6 COPY_SCRIPT="$METADIR/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh"
8 test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
9 DOWNLOAD_DIR=${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
10 EXTRACT_DIR=$METADIR/binary-tmp
12 function copy_mm_packages() {
13 if [ ! -d $EXTRACT_DIR ]; then
14 if [ -f $DOWNLOAD_DIR/$ZIP_1 -a -f $DOWNLOAD_DIR/$ZIP_2 ]; then
16 unzip -o $DOWNLOAD_DIR/$ZIP_1 -d $EXTRACT_DIR
17 unzip -o $DOWNLOAD_DIR/$ZIP_2 -d $EXTRACT_DIR
19 echo -n "The graphics and multimedia acceleration packages for "
20 echo -e "the R-Car Gen3 board can be downloaded from:"
21 echo -e " https://www.renesas.com/en-us/software/D6000821.html"
22 echo -e " https://www.renesas.com/en-us/software/D6000822.html"
24 echo -n "These 2 files from there should be stored in your"
25 echo -e "'$DOWNLOAD_DIR' directory."
32 if [ -f $COPY_SCRIPT ]; then
33 cd $METADIR/meta-renesas-rcar-gen3/
34 $COPY_SCRIPT -d -f $EXTRACT_DIR
37 echo "scripts to copy drivers for Gen3 not found."