From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] qemu: add host/target Linux version check
Date: Thu, 21 May 2015 10:27:26 +0200 [thread overview]
Message-ID: <20150521102726.7826d7f7@free-electrons.com> (raw)
In-Reply-To: <XnsA4A16452115E4berndkuhlsPkbjNfxxIA@bernd-kuhls.de>
Dear Bernd Kuhls,
On Thu, 21 May 2015 09:51:43 +0200, Bernd Kuhls wrote:
> > +ifneq
> > ($(HOST_QEMU_COMPARE_VERSION_MAJOR)$(HOST_QEMU_COMPARE_VERSION_MINOR),OKO
> > K) +$(error "Refusing to build qemu-user: target Linux version newer
> > than host's.") +endif
>
> while testing an allyesconfig with "make source-check" this error was
> raised. I had to comment this line in order to run the source-check. Is it
> possible to run this check only during a build phase?
Yes, but that's not the proper solution. The proper solution is to
enclose the test with:
ifeq ($(BR_BUILDING),y)
...
endif
See how it's used in linux.mk or uboot.mk.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-05-21 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 22:11 [Buildroot] [PATCH 0/2] qemu: allow selection of host qemu-user from menuconfig Thomas Petazzoni
2014-12-10 22:11 ` [Buildroot] [PATCH 1/2] qemu: add to host utilities menu Thomas Petazzoni
2014-12-10 22:11 ` [Buildroot] [PATCH 2/2] qemu: add host/target Linux version check Thomas Petazzoni
2014-12-12 13:56 ` Frank Hunleth
2015-05-21 7:51 ` Bernd Kuhls
2015-05-21 8:27 ` Thomas Petazzoni [this message]
2014-12-23 11:10 ` [Buildroot] [PATCH 0/2] qemu: allow selection of host qemu-user from menuconfig Thomas Petazzoni
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=20150521102726.7826d7f7@free-electrons.com \
--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