mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
linux: dts and built dtb files have been moved in linux-6.5
Additional folder depth required for arm dtb files since linux-6.5. The dtb files the were in arch/arm/boot/dts are now in arch/arm/boot/dts/nxp/imx. This is increase of 2 directory levels. For the arm/boot/dts directory {intel,nxp,ti} all have additional subdirectories for the different cpus. For arm64/boot/dts only broadcom has subdirectories. iMX8 dtb files remain in arch/arm64/boot/dts/freescale, thus did not trigger the build failure.
This commit is contained in:
parent
0f3b4f3f5e
commit
c618345cf8
@ -286,7 +286,9 @@ makeinstall_target() {
|
||||
|
||||
if [ "${BOOTLOADER}" = "u-boot" ]; then
|
||||
mkdir -p ${INSTALL}/usr/share/bootloader
|
||||
for dtb in arch/${TARGET_KERNEL_ARCH}/boot/dts/*.dtb arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*.dtb; do
|
||||
for dtb in arch/${TARGET_KERNEL_ARCH}/boot/dts/*.dtb \
|
||||
arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*.dtb \
|
||||
arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*/*.dtb; do
|
||||
if [ -f ${dtb} ]; then
|
||||
cp -v ${dtb} ${INSTALL}/usr/share/bootloader
|
||||
fi
|
||||
@ -302,7 +304,9 @@ makeinstall_target() {
|
||||
|
||||
# install platform dtbs, but remove upstream kernel dtbs (i.e. without downstream
|
||||
# drivers and decent USB support) as these are not required by LibreELEC
|
||||
for dtb in arch/${TARGET_KERNEL_ARCH}/boot/dts/*.dtb arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*.dtb; do
|
||||
for dtb in arch/${TARGET_KERNEL_ARCH}/boot/dts/*.dtb \
|
||||
arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*.dtb \
|
||||
arch/${TARGET_KERNEL_ARCH}/boot/dts/*/*/*.dtb; do
|
||||
if [ -f ${dtb} ]; then
|
||||
cp -v ${dtb} ${INSTALL}/usr/share/bootloader
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user