diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-06-06 19:24:28 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-06-06 19:24:28 +0300 |
commit | def271fea8d5792eb99acd4cd938803931dbd27b (patch) | |
tree | 4dc830ef1dd30372eb25fd89937c05cef2e9c938 | |
parent | d092160b0e9d325c066a8d0f3dfc5f8a3b54506f (diff) | |
parent | d1bcf3dc1483a0af46e86635363e952b4cd56a52 (diff) | |
download | openbmc-def271fea8d5792eb99acd4cd938803931dbd27b.tar.xz |
Merge pull request #275 from bradbishop/out-of-tree
Re-enable out of tree device trees
-rw-r--r-- | meta-phosphor/common/recipes-kernel/linux/linux-obmc_4.4.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-kernel/linux/linux-obmc_4.4.bb b/meta-phosphor/common/recipes-kernel/linux/linux-obmc_4.4.bb index 09d40e5359..47e36982ed 100644 --- a/meta-phosphor/common/recipes-kernel/linux/linux-obmc_4.4.bb +++ b/meta-phosphor/common/recipes-kernel/linux/linux-obmc_4.4.bb @@ -18,3 +18,13 @@ COMPATIBLE_MACHINE_${MACHINE} = "openbmc" inherit kernel require recipes-kernel/linux/linux-yocto.inc + +do_patch_append() { + for DTB in "${KERNEL_DEVICETREE}"; do + DT=`basename ${DTB} .dtb` + if [ -r "${WORKDIR}/${DT}.dts" ]; then + cp ${WORKDIR}/${DT}.dts \ + ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts + fi + done +} |