summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 17:08:05 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 17:08:05 +0000
commit5d109e12c59bc57407f5eb3356ce9f0b89ed6f61 (patch)
treeee2fb5c92f1aefe85a3bdb12f02f8fc3572748e8
parent75f074367f315fa3767cc97de7aa9377298259f2 (diff)
u-boot-utils: Fix so that this builds on arches other than powerpc as various arm and mips machines depend on it (this was missed out from the move from 1.1.2 to 1.2.0 it seems) and ensure that the utilities are actually installed
-rw-r--r--packages/u-boot/u-boot-utils_1.2.0.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/u-boot/u-boot-utils_1.2.0.bb b/packages/u-boot/u-boot-utils_1.2.0.bb
index 1734b41a0e..076547eb84 100644
--- a/packages/u-boot/u-boot-utils_1.2.0.bb
+++ b/packages/u-boot/u-boot-utils_1.2.0.bb
@@ -3,7 +3,7 @@ SECTION = "bootloaders"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "mtd-utils"
-PR = "r7"
+PR = "r8"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
file://fw_env.c.patch;patch=1 \
@@ -13,6 +13,8 @@ SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
S = "${WORKDIR}/u-boot-${PV}"
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
+TARGET_LDFLAGS = ""
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-${PV}"
do_configure() {
@@ -25,10 +27,6 @@ do_compile () {
}
do_install () {
- :
-}
-
-do_install_openprotium () {
install -d ${D}/sbin
install -d ${D}${sysconfdir}
install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config