Mike Garrett | ab6de74 | 2021-08-24 17:56:32 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/linux-obmc:" |
Jorge Cisneros | 8a445a0 | 2020-09-03 21:09:03 +0000 | [diff] [blame] | 2 | SRC_URI += "file://gxp.dts \ |
| 3 | " |
| 4 | |
Mike Garrett | ab6de74 | 2021-08-24 17:56:32 -0500 | [diff] [blame] | 5 | do_patch:append() { |
Jorge Cisneros | 8a445a0 | 2020-09-03 21:09:03 +0000 | [diff] [blame] | 6 | 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 | |