Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/xen: Force disable SDL for xen-qemu build
Date: Thu, 18 Jan 2018 22:02:14 +0100	[thread overview]
Message-ID: <20180118220214.39ff4f5b@windsurf.lan> (raw)
In-Reply-To: <20180118185548.8994-1-alistair.francis@xilinx.com>

Hello,

On Thu, 18 Jan 2018 10:55:47 -0800, Alistair Francis wrote:

> diff --git a/package/xen/003-tools-Makefile-Force-disable-SDL-QEMU-build.patch b/package/xen/003-tools-Makefile-Force-disable-SDL-QEMU-build.patch
> new file mode 100644
> index 0000000000..fdb9d9c39d
> --- /dev/null
> +++ b/package/xen/003-tools-Makefile-Force-disable-SDL-QEMU-build.patch
> @@ -0,0 +1,30 @@
> +From d3b633ee4d7d7a9ae0f99da4720d637d5fbeb007 Mon Sep 17 00:00:00 2001
> +From: Alistair Francis <alistair.francis@xilinx.com>
> +Date: Thu, 18 Jan 2018 09:51:35 -0800
> +Subject: [PATCH] tools/Makefile: Force disable SDL QEMU build
> +
> +This patch fixes this compile issue when building xen-qemu with SDL
> +
> +/output/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/include/SDL2/SDL_syswm.h:83:22: fatal error: directfb.h: No such file or directory
> + #include <directfb.h>
> +
> +Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
> +---
> + tools/Makefile | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/tools/Makefile b/tools/Makefile
> +index ab7a01ee1b..4df6228fc5 100644
> +--- a/tools/Makefile
> ++++ b/tools/Makefile
> +@@ -274,6 +274,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
> + 		--datadir=$(SHAREDIR)/qemu-xen \
> + 		--localstatedir=$(localstatedir) \
> + 		--disable-kvm \
> ++		--disable-sdl \

Instead of patching, could you try:

	----with-extra-qemuu-configure-args="--disable-sdl"

passed to the top-level configure script, from xen.mk ?

This should have the same effect, without requiring a patch.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  parent reply	other threads:[~2018-01-18 21:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 18:55 [Buildroot] [PATCH 1/2] package/xen: Force disable SDL for xen-qemu build Alistair Francis
2018-01-18 18:55 ` [Buildroot] [PATCH 2/2] package/xen: Bump to latest 4.10.0 release Alistair Francis
2018-01-18 21:08   ` Thomas Petazzoni
2018-01-18 21:02 ` Thomas Petazzoni [this message]
2018-01-18 21:11 ` [Buildroot] [PATCH 1/2] package/xen: Force disable SDL for xen-qemu build Matthew Weber
2018-01-18 21:13   ` Matthew Weber
2018-01-18 21:27     ` Peter Korsgaard
2018-01-18 21:31       ` Matthew Weber
2018-01-18 21:38         ` Alistair Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180118220214.39ff4f5b@windsurf.lan \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox