From a01555a69039fa02665d4089e9c80236d872752e Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Thu, 21 Jul 2022 12:46:46 +0200 Subject: libubootenv: move in fw_env.config Currently we have downstream/upstream Toradex uboot recipes and we dont want to add fw_env.config for both of them to avoid code redundant. Let's add fw_env.config to libubootenv, which will be installed for both donwstream/upstream distros. Change libubootenv to a machine arch recipe since now it has machine specific fw_env.config files. Related-to: ELB-4536 Signed-off-by: Ming Liu --- recipes-bsp/u-boot/libubootenv_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-bsp/u-boot/libubootenv_%.bbappend (limited to 'recipes-bsp/u-boot/libubootenv_%.bbappend') diff --git a/recipes-bsp/u-boot/libubootenv_%.bbappend b/recipes-bsp/u-boot/libubootenv_%.bbappend new file mode 100644 index 0000000..3f8a71b --- /dev/null +++ b/recipes-bsp/u-boot/libubootenv_%.bbappend @@ -0,0 +1,12 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" + +SRC_URI:append = " file://fw_env.config" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RRECOMMENDS:${PN} += "u-boot-default-env" + +do_install:append() { + install -d ${D}/${sysconfdir} + install -m 0644 ${WORKDIR}/fw_env.config ${D}/${sysconfdir}/ +} -- cgit v1.2.3