All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Added missing CPPFLAGS/CFLAGS/LDFLAGS in sample recipe for morty branch
@ 2017-07-17  8:00 Pierre FICHEUX
  2017-07-17 10:24 ` Burton, Ross
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Pierre FICHEUX @ 2017-07-17  8:00 UTC (permalink / raw)
  To: yocto

This problem causes the following error :

ERROR: example-0.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary


Signed-off-by: Pierre FICHEUX <pierre.ficheux@smile.fr>
---
 .../target/arch/layer/recipes-example/example/example-recipe-0.1.bb    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb
index 5fbf594..2c478ad 100644
--- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb
+++ b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb
@@ -14,7 +14,8 @@ SRC_URI = "file://helloworld.c"
 S = "${WORKDIR}"
 
 do_compile() {
-	     ${CC} helloworld.c -o helloworld
+	     ${CC} ${CPPFLAGS} ${CFLAGS} -c helloworld.c -o helloworld.o
+	     ${CC} ${LDFLAGS} helloworld.o -o helloworld
 }
 
 do_install() {
-- 
2.7.4



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

end of thread, other threads:[~2017-07-30 12:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17  8:00 [PATCH] Added missing CPPFLAGS/CFLAGS/LDFLAGS in sample recipe for morty branch Pierre FICHEUX
2017-07-17 10:24 ` Burton, Ross
2017-07-17 10:25 ` Thomas A. F. Thorne MEng AUS MIET
2017-07-17 10:46   ` Burton, Ross
2017-07-17 10:54     ` Thomas A. F. Thorne MEng AUS MIET
2017-07-17 14:04 ` Leonardo Sandoval
2017-07-17 14:30   ` Burton, Ross
2017-07-17 14:48     ` Leonardo Sandoval
2017-07-17 22:48       ` Pierre FICHEUX
2017-07-26  6:06       ` Einar Vading
2017-07-30 12:10         ` Pierre FICHEUX

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.