From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWTxU-0004WZ-2Y for qemu-devel@nongnu.org; Thu, 18 Feb 2016 14:09:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWTxP-0004q3-NM for qemu-devel@nongnu.org; Thu, 18 Feb 2016 14:09:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWTxP-0004pz-IZ for qemu-devel@nongnu.org; Thu, 18 Feb 2016 14:09:43 -0500 References: <1455818725-7647-1-git-send-email-peter.maydell@linaro.org> <1455818725-7647-7-git-send-email-peter.maydell@linaro.org> From: Eric Blake Message-ID: <56C616F6.9030300@redhat.com> Date: Thu, 18 Feb 2016 12:09:42 -0700 MIME-Version: 1.0 In-Reply-To: <1455818725-7647-7-git-send-email-peter.maydell@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fhHMHKTdDOkArQuHgOOP2WHm0VsUSuW7p" Subject: Re: [Qemu-devel] [PATCH 6/8] osdep.h: Include config-target.h if NEED_CPU_H is defined List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fhHMHKTdDOkArQuHgOOP2WHm0VsUSuW7p Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/18/2016 11:05 AM, Peter Maydell wrote: > NEED_CPU_H is the define we use to distinguish per-target object > compilation from common object compilation. For the former, we must > also include config-target.h so that the .c files see the necessary > CONFIG_ constants. >=20 > Signed-off-by: Peter Maydell > --- > include/qemu/osdep.h | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h > index c1b413d..80c62be 100644 > --- a/include/qemu/osdep.h > +++ b/include/qemu/osdep.h > @@ -26,6 +26,9 @@ > #define QEMU_OSDEP_H > =20 > #include "config-host.h" > +#ifdef NEED_CPU_H > +#include "config-target.h" > +#endif > #include "qemu/compiler.h" Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --fhHMHKTdDOkArQuHgOOP2WHm0VsUSuW7p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWxhb2AAoJEKeha0olJ0NqgfoH/13m9YX6+e0GxmOdkAOmA9d9 egRgkLWc0I9bZPmC32pbviCKpMf6SrYTknEWTRl6VXhxiBCovZtR9OV5WWLeSIn/ Oe5g1Pi9g/arCLxJF9XzBbGFgcBrOujqBMhcfrT9/ybhjmNRX9yaVoB8MhADwXmE VbgPQZVryVVJ8YjM/qHT9HaGHQF2F0TGX1vEHzhh5SoMN9k8Uepvwwtp4G8m2v7h 2EEVkiHDno2WGWGD62A+ydKRNyMwDXZsPpxIVTdCrnjXOP0VC6EdTLL8/XM5alKk YqHcA0IDz3h8I2NCY2YyggaWxm55nSjkoOSRMD4q/BJq7QJY2NO1yU6LXAJtFtA= =l/vP -----END PGP SIGNATURE----- --fhHMHKTdDOkArQuHgOOP2WHm0VsUSuW7p--