ping

Thanks,
Grace

On 2016年05月06日 20:13, Catalin Enache wrote:
When adding new source files from upstream the autogen.sh
script needs to be run.

Signed-off-by: Catalin Enache <catalin.ena...@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}

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to