mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
u-boot: Move fw_env.config to u-boot append
The u-boot-env is provided by u-boot recipe and not by libubootenv, so right recipe to append is the u-boot. Adding the rpi-u-boot-scr in DEPENDS variable is wrong because it is forcing rpi-u-boot-scr to be a dependency, but it'll fail if I have another recipe that provides bootscript, once both recipes provide the same file. The default value of u-boot-default-script is rpi-u-boot-scr, so right way is to use u-boot-default-script and change the PREFERRED_PROVIDER_u-boot-default-script if needed. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
This commit is contained in:
parent
8258e733ea
commit
671ae4ab48
|
@ -1,12 +0,0 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
SRC_URI_append_rpi = " \
|
|
||||||
file://fw_env.config \
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPENDS_append_rpi = " rpi-u-boot-scr"
|
|
||||||
|
|
||||||
do_install_append_rpi () {
|
|
||||||
install -d ${D}${sysconfdir}
|
|
||||||
install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
|
|
||||||
}
|
|
|
@ -1 +1,12 @@
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
|
SRC_URI_append_rpi = " \
|
||||||
|
file://fw_env.config \
|
||||||
|
"
|
||||||
|
|
||||||
DEPENDS_append_rpi = " u-boot-default-script"
|
DEPENDS_append_rpi = " u-boot-default-script"
|
||||||
|
|
||||||
|
do_install_append_rpi () {
|
||||||
|
install -d ${D}${sysconfdir}
|
||||||
|
install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user