aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot/u-boot.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-20 20:15:40 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-21 15:27:27 +0200
commitd57e14b9e27ed8360d49446361c5f7607ea34d88 (patch)
tree5537320fb1b8a6022ae998a458c051c5bd7721a8 /recipes/u-boot/u-boot.inc
parent9566f5fa6724f0beae77c206c9c391b177060fb8 (diff)
downloadopenembedded-d57e14b9e27ed8360d49446361c5f7607ea34d88.tar.gz
u-boot: fix fw_env logic, update beagle and touchbook
Diffstat (limited to 'recipes/u-boot/u-boot.inc')
-rw-r--r--recipes/u-boot/u-boot.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc
index 6c8566fb28..8ab0282743 100644
--- a/recipes/u-boot/u-boot.inc
+++ b/recipes/u-boot/u-boot.inc
@@ -5,6 +5,8 @@ PRIORITY = "optional"
LICENSE = "GPL"
PROVIDES = "virtual/bootloader"
+DEPENDS = "mtd-utils"
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
PARALLEL_MAKE=""
@@ -14,18 +16,20 @@ UBOOT_MACHINE ?= "${MACHINE}_config"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
+INSANE_SKIP_${PN} = True
+
do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
oe_runmake ${UBOOT_MACHINE}
oe_runmake all
- oe_runmake tools
+ oe_runmake tools env
}
do_install () {
if [ -e ${WORKDIR}/fw_env.config ] ; then
- install -d ${D}$base_sbindir}
+ 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