All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]Removing Legacy staging from genboot native recipe
@ 2010-08-13  5:39 noor_ahsan
  2010-08-13  6:29 ` Frans Meulenbroeks
  2010-08-13  8:07 ` Paul Menzel
  0 siblings, 2 replies; 16+ messages in thread
From: noor_ahsan @ 2010-08-13  5:39 UTC (permalink / raw)
  To: openembedded-devel

genboot: Removing legacy staging

* Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} with ${D}${bindir} 
Signed-off-by: Noor Ahsan <noor_ahsan@mentorg.com>
diff --git a/recipes/simpad-utilities/genboot-native.bb b/recipes/simpad-utilities/genboot-native.bb
index 47b9b34..966a450 100644
--- a/recipes/simpad-utilities/genboot-native.bb
+++ b/recipes/simpad-utilities/genboot-native.bb
@@ -9,12 +9,15 @@ DEPENDS = "pad-native"
 
 inherit native
 
+NATIVE_INSTALL_WORKS = "1"
+
 do_compile() {
 	cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
 	${CC} -I. -o genboot gen_boot.c
 }
 
-do_stage() {
-	install -m 0755 genboot ${STAGING_BINDIR}/
-	install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/
+do_install() {
+	install -d ${D}${bindir}/
+	install -m 0755 genboot ${D}${bindir}/
+	install -m 0755 ${WORKDIR}/simpad-make-flashimg ${D}${bindir}/
 }




^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH]Removing Legacy staging from genboot native recipe
@ 2010-08-13 11:17 noor_ahsan
  2010-08-13 12:03 ` Paul Menzel
  0 siblings, 1 reply; 16+ messages in thread
From: noor_ahsan @ 2010-08-13 11:17 UTC (permalink / raw)
  To: openembedded-devel

genboot-native: Removing legacy staging

* Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} with ${D}${bindir}
 
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>

diff --git a/recipes/simpad-utilities/genboot-native.bb b/recipes/simpad-utilities/genboot-native.bb
index 47b9b34..f398a55 100644
--- a/recipes/simpad-utilities/genboot-native.bb
+++ b/recipes/simpad-utilities/genboot-native.bb
@@ -1,5 +1,5 @@
 SECTION = "console/utils"
-PR = "r1"
+PR = "r2"
 DESCRIPTION = "Console utility for generating a SIMpad boot image for the proprietary SIEMENS Switzerland bootloader"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/genboot"
 SRC_URI = "file://gen_boot.c file://arnold_boot.h file://simpad-make-flashimg"
@@ -9,12 +9,15 @@ DEPENDS = "pad-native"
 
 inherit native
 
+NATIVE_INSTALL_WORKS = "1"
+
 do_compile() {
-	cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
-	${CC} -I. -o genboot gen_boot.c
+        cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
+        ${CC} -I. -o genboot gen_boot.c
 }
 
-do_stage() {
-	install -m 0755 genboot ${STAGING_BINDIR}/
-	install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/
+do_install() {
+        install -d ${D}${bindir}/
+        install -m 0755 genboot ${D}${bindir}/
+        install -m 0755 ${WORKDIR}/simpad-make-flashimg ${D}${bindir}/
 }



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-08-14 15:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13  5:39 [PATCH]Removing Legacy staging from genboot native recipe noor_ahsan
2010-08-13  6:29 ` Frans Meulenbroeks
2010-08-13  6:53   ` Ahsan, Noor
2010-08-13  8:07 ` Paul Menzel
2010-08-13  9:01   ` Ahsan, Noor
2010-08-13  9:18     ` Paul Menzel
2010-08-13 14:36       ` Khem Raj
2010-08-13 20:24         ` Tom Rini
2010-08-14  8:58     ` Frans Meulenbroeks
  -- strict thread matches above, loose matches on Subject: below --
2010-08-13 11:17 noor_ahsan
2010-08-13 12:03 ` Paul Menzel
2010-08-13 12:25   ` Frans Meulenbroeks
2010-08-13 14:22     ` Koen Kooi
2010-08-13 20:23       ` Tom Rini
2010-08-14  8:41       ` Frans Meulenbroeks
2010-08-14 15:39         ` Khem Raj

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.