mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
Merge pull request #1491 from MilhouseVH/linux_cp_fix
linux: cp project and device device tree, silence errors
This commit is contained in:
commit
a96b573b7b
@ -141,8 +141,20 @@ post_patch() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# install extra dts files
|
# install extra dts files
|
||||||
cp -v projects/$PROJECT/devices/$DEVICE/config/*-overlay.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays/ || :
|
for f in $PROJECT_DIR/$PROJECT/config/*-overlay.dts; do
|
||||||
cp -v projects/$PROJECT/devices/$DEVICE/config/dt-blob.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/ || :
|
[ -f "$f" ] && cp -v $f $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays
|
||||||
|
done
|
||||||
|
if [ -f $PROJECT_DIR/$PROJECT/config/dt-blob.dts ]; then
|
||||||
|
cp -v $PROJECT_DIR/$PROJECT/config/dt-blob.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts
|
||||||
|
fi
|
||||||
|
if [ -n "$DEVICE" ]; then
|
||||||
|
for f in $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/*-overlay.dts; do
|
||||||
|
[ -f "$f" ] && cp -v $f $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays
|
||||||
|
done
|
||||||
|
if [ -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/dt-blob.dts ]; then
|
||||||
|
cp -v $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/dt-blob.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts
|
||||||
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_host() {
|
makeinstall_host() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user