git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4aa04a
)
u-boot: if there's a fw-env in SRC_URI build and install tools as well
author
Koen Kooi
<koen@openembedded.org>
Thu, 17 Sep 2009 18:05:51 +0000
(20:05 +0200)
committer
Koen Kooi
<koen@openembedded.org>
Thu, 17 Sep 2009 18:05:51 +0000
(20:05 +0200)
recipes/u-boot/u-boot.inc
patch
|
blob
|
history
diff --git
a/recipes/u-boot/u-boot.inc
b/recipes/u-boot/u-boot.inc
index
294b444
..
6c8566f
100644
(file)
--- a/
recipes/u-boot/u-boot.inc
+++ b/
recipes/u-boot/u-boot.inc
@@
-20,6
+20,17
@@
do_compile () {
unset CPPFLAGS
oe_runmake ${UBOOT_MACHINE}
oe_runmake all
+ oe_runmake tools
+}
+
+do_install () {
+ if [ -e ${WORKDIR}/fw_env.config ] ; then
+ install -d ${D}$base_sbindir}
+ install -d ${D}${sysconfdir}
+ install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
+ 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
+ fi
}
do_deploy () {