[OE-core] [PATCH 04/12] qemu: build target variant with gtk+, and nativesdk variant without sdl

Mark Hatle mark.hatle at windriver.com
Fri Feb 8 15:31:40 UTC 2019


I may be nitpicking slightly, but this patch 4 and 3 should probably be
combined.. I looked at '3' and went "this looks wrong, I have no idea why"..
then saw '4' and it became clear.  Since they're both tied together (same
purpose) it may make sense to combine them...

On 2/8/19 8:45 AM, Alexander Kanavin wrote:
> As sdl is deprecated in favor of gtk+, it should not be the default.

At a minimum the commit message above should be included in 3/12.

--Mark

> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
>  meta/recipes-devtools/qemu/qemu.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index 95e9e0ede77..07f78058e7b 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -71,11 +71,11 @@ do_install_append() {
>  # END of qemu-mips workaround
>  
>  PACKAGECONFIG ??= " \
> -    fdt sdl kvm \
> +    fdt gtk+ kvm \
>      ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
>  "
>  PACKAGECONFIG_class-native ??= "fdt alsa kvm virglrenderer glx"
> -PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm virglrenderer glx"
> +PACKAGECONFIG_class-nativesdk ??= "fdt kvm virglrenderer glx"
>  
>  # Handle distros such as CentOS 5 32-bit that do not have kvm support
>  PACKAGECONFIG_class-native_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
> 



More information about the Openembedded-core mailing list