ebisu: Update setup.sh to adopt multiple zip file
[AGL/meta-agl.git] / templates / machine / ebisu / 50_setup.sh
index c8471ae..502c227 100644 (file)
@@ -19,7 +19,10 @@ fi
 if [ -f $COPY_SCRIPT ]; then
        # Extract the ZIP into the tmp directory
        mkdir -p $EXTRACT_DIR
-       unzip -q -o $EBISU_BIN_PATH/*.zip -d $EXTRACT_DIR
+       for PROPRIETARY_BIN in `ls -1 $EBISU_BIN_PATH/*.zip`
+       do
+               unzip -q -o $PROPRIETARY_BIN -d $EXTRACT_DIR
+       done
 
        cd $METADIR/bsp/meta-renesas-rcar-gen3/
        $COPY_SCRIPT $EXTRACT_DIR