mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCH] host-qemu: use internel pixman instead of systemwide
Date: Sun, 21 Aug 2016 20:49:39 +0200	[thread overview]
Message-ID: <1471805379-5501-1-git-send-email-r.schwebel@pengutronix.de> (raw)

Currently, host-qemu tries to use a systemwide installed pixman version.
QEMU's handwritten configure script determines the include and library
paths with pkg-config, but as our host-pkg-config doesn't find pixman-1,
the compilation breaks down with:

In file included from [...]/qemu-2.6.0/include/ui/console.h:4:0, from vl.c:75:
[...]/qemu-2.6.0/include/ui/qemu-pixman.h:14:20: fatal error: pixman.h: No such file or directory
compilation terminated.
[...]/qemu-2.6.0/rules.mak:57: recipe for target 'vl.o' failed
make[1]: *** [vl.o] Error 1

Switch to using the pixman variant shipped with qemu.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 rules/host-qemu.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/host-qemu.make b/rules/host-qemu.make
index eae6a52..ab47c1a 100644
--- a/rules/host-qemu.make
+++ b/rules/host-qemu.make
@@ -121,7 +121,7 @@ HOST_QEMU_CONF_OPT	:= \
 	--disable-jemalloc \
 	--disable-tools \
 	\
-	--with-system-pixman
+	--without-system-pixman
 
 QEMU_CROSS_DL = $(shell ptxd_cross_cc_v |sed -n -e 's/.* -dynamic-linker \([^ ]*\).*/\1/p')
 QEMU_CROSS_LD_LIBRARY_PATH := $(PTXDIST_SYSROOT_TOOLCHAIN)/lib:$(SYSROOT)/$(CROSS_LIB_DIR):$(SYSROOT)/usr/$(CROSS_LIB_DIR)
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2016-08-21 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 18:49 Robert Schwebel [this message]
2016-08-21 18:52 ` Robert Schwebel
2016-08-22  8:13   ` Robert Schwebel

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=1471805379-5501-1-git-send-email-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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