Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] grub-efi: run autogen.sh before configure
@ 2016-05-06 12:13 Catalin Enache
  2016-07-06  9:22 ` Yu, Mingli
  2016-07-11 10:22 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Catalin Enache @ 2016-05-06 12:13 UTC (permalink / raw)
  To: openembedded-core

When adding new source files from upstream the autogen.sh
script needs to be run.

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
---
 meta/recipes-bsp/grub/grub-efi_2.00.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb
index 5a0dc95..62ded6e 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.00.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.00.bb
@@ -2,6 +2,7 @@ require grub2.inc
 
 DEPENDS_class-target = "grub-efi-native"
 RDEPENDS_${PN}_class-target = "diffutils freetype"
+DEPENDS += "autogen-native"
 PR = "r3"
 
 SRC_URI += " \
@@ -39,6 +40,11 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-
 # and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo)
 CFLAGS_append_class-native = " -Wno-error=trampolines"
 
+do_configure_prepend() {
+    ( cd ${S}
+    ${S}/autogen.sh )
+}
+
 do_install_class-native() {
 	install -d ${D}${bindir}
 	install -m 755 grub-mkimage ${D}${bindir}
-- 
2.7.4



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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06 12:13 [PATCH] grub-efi: run autogen.sh before configure Catalin Enache
2016-07-06  9:22 ` Yu, Mingli
2016-07-11 10:22 ` Burton, Ross
2016-07-12  3:27   ` Yu, Mingli
2016-07-12 10:57     ` Ioan-Adrian Ratiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox