Received: from eggs.gnu.org ([140.186.70.92]:50729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGLaj-0002n3-SU for qemu-devel@nongnu.org; Tue, 18 Oct 2011 22:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGLai-0002Hi-IM for qemu-devel@nongnu.org; Tue, 18 Oct 2011 22:09:13 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Alexander Graf In-Reply-To: Date: Tue, 18 Oct 2011 19:08:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1CAC5565-B77D-4DFF-BE3F-FFB573D64B67@suse.de> References: <1318897082-27413-1-git-send-email-agraf@suse.de> <4E9D3EE5.8050402@suse.de> Subject: Re: [Qemu-devel] [PATCH] PPC: Fail configure when libfdt is not available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: "david@gibson.dropbear.id.au" , "qemu-ppc@nongnu.org" , =?iso-8859-1?Q?Andreas_F=E4rber?= , "qemu-devel@nongnu.org" On 18.10.2011, at 11:30, Blue Swirl wrote: > On Tue, Oct 18, 2011 at 9:02 AM, Alexander Graf wrote: >>=20 >> Am 18.10.2011 um 10:55 schrieb Andreas F=E4rber : >>=20 >>> Am 18.10.2011 02:18, schrieb Alexander Graf: >>>> We have several targets in the PPC tree now that basically require = libfdt >>>> to function properly, namely the pseries and the e500 targets. This = dependency >>>> will rather increase than decrease in the future, so I want to make = sure >>>> that people building shiny new 1.0 actually have libfdt installed = to get >>>> rid of a few ifdefs in the code. >>>>=20 >>>> Warning: This patch will likely make configure fail for people who = don't >>>> select their own --target-list, but don't have libfdt development = packages >>>> installed. However, we really need this new dependency to move on. >>>>=20 >>>> Signed-off-by: Alexander Graf >>>=20 >>> openSUSE 12.1 has libfdt1-devel, but you should set up a submodule = and >>> working build rules for Darwin, Haiku, etc. `make` doesn't fully = work so >>> I used custom scripts to build the right parts and to manually = "install" >>> the resulting binary and headers. >>=20 >> I don't fully understand. It's a build dependency, so whoever = maintains libfdt / is interested in running ppc targets on those OSs = needs to fix libfdt to build there. >>=20 >> It's really the same as a dependency on glib or sdl or ... :). It's = just less well known (and less active as a project). >=20 > It's not available on Ubuntu or Debian and I doubt that compiled > packages are available for OSX or Windows. OpenBSD does not have it in > the ports. So I'd use submodule approach. If we do a submodule, it will never get packaged. And then we'll = practically have yet another fork of it :(. The submodule approach is = reasonable for our binary blobs, sure. But this is a library and IMHO = should be treated as such. Alex