[OE-core] [PATCH] grub-efi: run autogen.sh before configure
Yu, Mingli
mingli.yu at windriver.com
Wed Jul 6 09:22:53 UTC 2016
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.enache at 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}
>
More information about the Openembedded-core
mailing list