[oe] [meta-initramfs][PATCH] grubby: fix no GNU_HASH warning

Hongxu Jia hongxu.jia at windriver.com
Mon Aug 1 12:10:29 UTC 2016


- Let recipe's LDFLAGS work in Makefile.

- Pass option '-e' to Makefile, let environment
  CFLAGS append to the one in Makefile.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
index dc6cc62..1a9f68d 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
@@ -25,7 +25,7 @@ RDEPENDS_${PN} += "dracut"
 
 inherit autotools-brokensep ptest
 
-EXTRA_OEMAKE = "'CC=${CC}'"
+EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}'"
 
 do_install_ptest() {
 	install -d ${D}${PTEST_PATH}
-- 
2.8.1




More information about the Openembedded-devel mailing list