Update common.sh

This commit is contained in:
Igor Pečovnik
2014-10-08 09:56:30 +02:00
parent bf200ecce6
commit 1969ed42ee

View File

@@ -110,7 +110,7 @@ make -s CROSS_COMPILE=arm-linux-gnueabihf- clean
rm -rf output rm -rf output
mkdir -p output/boot mkdir -p output/boot
# Adding firmware to kernel source # Adding custom firmware to kernel source
if [[ -n "$FIRMWARE" ]]; then unzip -o $SRC/lib/$FIRMWARE -d $DEST/$LINUXSOURCE/firmware; fi if [[ -n "$FIRMWARE" ]]; then unzip -o $SRC/lib/$FIRMWARE -d $DEST/$LINUXSOURCE/firmware; fi
# there are two methods of compilation # there are two methods of compilation
@@ -134,7 +134,7 @@ else
cp arch/arm/boot/uImage output/boot/ cp arch/arm/boot/uImage output/boot/
fi fi
# add firmware # add linux firmwares to output image
unzip $SRC/lib/bin/linux-firmware.zip -d output/lib/firmware unzip $SRC/lib/bin/linux-firmware.zip -d output/lib/firmware
else else
echo "ERROR: Source file $1 does not exists. Check fetch_from_github configuration." echo "ERROR: Source file $1 does not exists. Check fetch_from_github configuration."