All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] allow u-boot package binaries to be relocated to UBOOT_DEST
@ 2010-07-02 17:32 Jim Sheldon
  0 siblings, 0 replies; only message in thread
From: Jim Sheldon @ 2010-07-02 17:32 UTC (permalink / raw)
  To: openembedded-devel


Signed-off-by: Jim Sheldon <jims@russound.com>
---
 recipes/u-boot/u-boot.inc |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc
index 323eaef..e4bbdde 100644
--- a/recipes/u-boot/u-boot.inc
+++ b/recipes/u-boot/u-boot.inc
@@ -13,6 +13,7 @@ PARALLEL_MAKE=""
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
 UBOOT_MACHINE ?= "${MACHINE}_config"
+UBOOT_DEST ?= "/boot"
 UBOOT_BINARY ?= "u-boot.bin"
 UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
 UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
@@ -27,9 +28,9 @@ do_compile () {
 }
 
 do_install () {
-	install -d ${D}/boot
-	install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
-	ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+	install -d ${D}/${UBOOT_DEST}
+	install ${S}/${UBOOT_BINARY} ${D}/${UBOOT_DEST}/${UBOOT_IMAGE}
+	ln -sf ${UBOOT_IMAGE} ${D}/${UBOOT_DEST}/${UBOOT_BINARY}
 
 	if [ -e ${WORKDIR}/fw_env.config ] ; then
 	    install -d ${D}${base_sbindir}
@@ -41,7 +42,7 @@ do_install () {
 
 }
 
-FILES_${PN} = "/boot"
+FILES_${PN} = "${UBOOT_DEST}"
 # no gnu_hash in uboot.bin, by design, so skip QA
 INSANE_SKIP_${PN} = True
 
-- 
1.5.4.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-02 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02 17:32 [PATCH] allow u-boot package binaries to be relocated to UBOOT_DEST Jim Sheldon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.