From caa8ec28d0cbb773f3af3724cf10a6a16ebce16e Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 20 Apr 2019 12:58:09 +0200 Subject: [PATCH] linux: drop copying devicetree overlay files into kernel source dir This hacky approach stopped working with kernel 5.0 and is no longer used by and projects/devices in LibreELEC. Signed-off-by: Matthias Reichl --- packages/linux/package.mk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index 587750ab70..c586fecbba 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -89,16 +89,6 @@ post_patch() { sed -i -e "s|^CONFIG_ISCSI_IBFT_FIND=.*$|# CONFIG_ISCSI_IBFT_FIND is not set|" $PKG_BUILD/.config sed -i -e "s|^CONFIG_ISCSI_IBFT=.*$|# CONFIG_ISCSI_IBFT is not set|" $PKG_BUILD/.config fi - - # install extra dts files - for f in $PROJECT_DIR/$PROJECT/config/*-overlay.dts; do - [ -f "$f" ] && cp -v $f $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays || true - done - 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 || true - done - fi } make_host() {