blob: 4a6250ecb216688d92f9e7beef00fefe9def7ef3 [file] [log] [blame]
Mike Garrettab6de742021-08-24 17:56:32 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/linux-obmc:"
Jorge Cisneros8a445a02020-09-03 21:09:03 +00002SRC_URI += "file://gxp.dts \
3 "
4
Mike Garrettab6de742021-08-24 17:56:32 -05005do_patch:append() {
Jorge Cisneros8a445a02020-09-03 21:09:03 +00006 for DTB in "${KERNEL_DEVICETREE}"; do
7 DT=`basename ${DTB} .dtb`
8 if [ -r "${WORKDIR}/${DT}.dts" ]; then
9 cp ${WORKDIR}/${DT}.dts \
10 ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts
11 fi
12 done
13
14}
15