From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH] minios: minor buildsystem fixes Date: Wed, 15 Jul 2009 11:42:48 +0200 Message-ID: <200907151142.48343.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_YSaXKqK9Wzb6Kxx" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_YSaXKqK9Wzb6Kxx Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch changes MiniOS.mk and tools/Rules.mk use the OS settings we build on. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_YSaXKqK9Wzb6Kxx Content-Type: text/x-diff; charset="us-ascii"; name="xen_minios.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_minios.diff" diff -r 323ae92f774b config/MiniOS.mk --- a/config/MiniOS.mk Wed Jul 15 09:14:19 2009 +0100 +++ b/config/MiniOS.mk Wed Jul 15 11:35:03 2009 +0200 @@ -1,4 +1,4 @@ -include $(XEN_ROOT)/config/StdGNU.mk +include $(XEN_ROOT)/config/$(shell uname -s).mk include $(XEN_ROOT)/extras/mini-os/Config.mk CFLAGS += $(DEF_CFLAGS) $(ARCH_CFLAGS) CPPFLAGS += $(DEF_CPPFLAGS) $(ARCH_CPPFLAGS) $(extra_incl) diff -r 323ae92f774b tools/Rules.mk --- a/tools/Rules.mk Wed Jul 15 09:14:19 2009 +0100 +++ b/tools/Rules.mk Wed Jul 15 11:35:03 2009 +0200 @@ -33,7 +33,10 @@ CFLAGS += -D__XEN_TOOLS__ CFLAGS += -MMD -MF .$(@F).d DEPS = .*.d -ifneq ($(XEN_OS),NetBSD) +# On NetBSD LFS is always on. +# We can't use $(XEN_OS) or we will miss MiniOS +# when we build MiniOS on NetBSD. +ifneq ($(shell uname -s),NetBSD) # Enable implicit LFS support *and* explicit LFS names. CFLAGS += $(shell getconf LFS_CFLAGS) CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE --Boundary-00=_YSaXKqK9Wzb6Kxx Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_YSaXKqK9Wzb6Kxx--