mirror of
https://github.com/armbian/build.git
synced 2025-08-15 15:46:58 +02:00
18 lines
359 B
Bash
Executable File
18 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
# Copy xusb file to initrd
|
|
#
|
|
mkdir -p "${DESTDIR}"/lib/firmware/nvidia/tegra210
|
|
xusbfile=/lib/firmware/nvidia/tegra210/xusb.bin
|
|
|
|
if [ -f "${xusbfile}" ]; then
|
|
cp "${xusbfile}" "${DESTDIR}"/lib/firmware/nvidia/tegra210
|
|
fi
|
|
|
|
usbold=/lib/firmware/tegra21x_xusb_firmware
|
|
|
|
if [ -f "${usbold}" ]; then
|
|
cp "${usbold}" "${DESTDIR}"/lib/firmware
|
|
fi
|
|
|
|
exit 0
|