All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] minios: minor buildsystem fixes
@ 2009-07-15  9:42 Christoph Egger
  2009-07-15 10:40 ` Keir Fraser
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Christoph Egger @ 2009-07-15  9:42 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]


Hi!

Attached patch changes MiniOS.mk and tools/Rules.mk
use the OS settings we build on.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>

-- 
---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

[-- Attachment #2: xen_minios.diff --]
[-- Type: text/x-diff, Size: 950 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-07-16 13:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15  9:42 [PATCH] minios: minor buildsystem fixes Christoph Egger
2009-07-15 10:40 ` Keir Fraser
2009-07-15 12:27   ` Christoph Egger
2009-07-15 12:35     ` Stefano Stabellini
2009-07-15 12:39       ` Keir Fraser
2009-07-15 12:43         ` Stefano Stabellini
2009-07-15 12:59           ` Keir Fraser
2009-07-15 14:54       ` Christoph Egger
2009-07-15 16:03 ` Ian Jackson
2009-07-15 16:13   ` Stefano Stabellini
2009-07-15 17:24   ` Samuel Thibault
2009-07-16 12:17   ` Christoph Egger
2009-07-16 13:46     ` Samuel Thibault
2009-07-16 13:53     ` Ian Jackson
2009-07-15 16:39 ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.