[oe-commits] org.oe.dev uboot-utils: Update and move to uboot/

nail commit openembedded-commits at lists.openembedded.org
Fri Mar 30 16:29:17 UTC 2007


uboot-utils: Update and move to uboot/

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: b744deb0b5dfbe71f24212b7326b921dbaa53b29
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b744deb0b5dfbe71f24212b7326b921dbaa53b29
Files:
1
packages/uboot-utils/files/turbostation/fw_env.config
packages/uboot/uboot-utils_1.1.2.bb
Diffs:

#
# mt diff -r6176297db9843a4ee2b5a46d8c099ac11f0efdd6 -rb744deb0b5dfbe71f24212b7326b921dbaa53b29
#
# 
# 
# delete "packages/uboot-utils/files/turbostation/fw_env.config"
# 
# add_file "packages/uboot/uboot-utils_1.1.2.bb"
#  content [02c24e2e787364d6abbbb9560250bcd4d9d21e84]
# 
============================================================
--- packages/uboot/uboot-utils_1.1.2.bb	02c24e2e787364d6abbbb9560250bcd4d9d21e84
+++ packages/uboot/uboot-utils_1.1.2.bb	02c24e2e787364d6abbbb9560250bcd4d9d21e84
@@ -0,0 +1,43 @@
+DESCRIPTION = "U-boot bootloader OS env. access tools for PPC"
+SECTION = "bootloaders"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "mtd-utils"
+PR = "r5"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/u-boot/u-boot-${PV}.tar.bz2 \
+	 file://fw_env.c.patch;patch=1 \
+	 file://tools-Makefile.patch;patch=1 \
+	 file://env-Makefile.patch;patch=1 \
+	 file://fw_env.config"
+
+S = "${WORKDIR}/u-boot-${PV}"
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
+TARGET_LDFLAGS = ""
+
+UBOOT_MACHINE ?= "${MACHINE}_config"
+
+inherit base
+
+do_configure() {
+	:
+}
+
+do_compile () {
+	oe_runmake Sandpoint8240_config
+	oe_runmake tools
+}
+
+# install mkimage for the kernel makefile
+do_stage() {
+	install -d ${STAGING_BINDIR_NATIVE}
+	install -m 755 ${S}/tools/mkimage ${STAGING_BINDIR_NATIVE}/
+}
+
+do_install () {
+	install -d	${D}/sbin
+	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}/sbin/fw_printenv
+	install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_setenv
+}






More information about the Openembedded-commits mailing list