mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Update common.sh
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user