]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot-fw-utils: install config file
authorMaxin B. John <maxin.john@enea.com>
Wed, 25 Jun 2014 09:13:59 +0000 (11:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jun 2014 12:51:09 +0000 (13:51 +0100)
The on-target fw_printenv and fw_setenv needs configuration file
(fw_env.config) to be present in the target.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb

index 14b09761e1bb39ad88c6e7912cdcfd4a77516f47..89fed8bee44a6d5060efc4cbcd92564f2f13a4f9 100644 (file)
@@ -26,8 +26,10 @@ do_compile () {
 
 do_install () {
   install -d ${D}${base_sbindir}
+  install -d ${D}${sysconfdir}
   install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
   install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
+  install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"