blob: 154309e7fefb50358161915cfd62bb0f4a68c253 [file] [log] [blame]
Patrick Williams213cb262021-08-07 19:21:33 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
Andrew Geissler9d7e0aa2020-08-21 15:56:44 -05002
Patrick Williams213cb262021-08-07 19:21:33 -05003SRC_URI:append:rpi = " \
Andrew Geissler9d7e0aa2020-08-21 15:56:44 -05004 file://fw_env.config \
5"
6
Andrew Geissler6454e372020-10-30 15:41:26 -05007# special fix for raspberrypi-cm3
Patrick Williams213cb262021-08-07 19:21:33 -05008SRC_URI:append:raspberrypi-cm3 = " file://0001-dm-core-Move-ofdata_to_platdata-call-earlier.patch"
Andrew Geissler6454e372020-10-30 15:41:26 -05009
Patrick Williams213cb262021-08-07 19:21:33 -050010DEPENDS:append:rpi = " u-boot-default-script"
Andrew Geissler9d7e0aa2020-08-21 15:56:44 -050011
Patrick Williams213cb262021-08-07 19:21:33 -050012do_install:append:rpi () {
Andrew Geissler9d7e0aa2020-08-21 15:56:44 -050013 install -d ${D}${sysconfdir}
14 install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
15}