All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] minios: minor buildsystem fixes
Date: Wed, 15 Jul 2009 11:42:48 +0200	[thread overview]
Message-ID: <200907151142.48343.Christoph.Egger@amd.com> (raw)

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

             reply	other threads:[~2009-07-15  9:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  9:42 Christoph Egger [this message]
2009-07-15 10:40 ` [PATCH] minios: minor buildsystem fixes 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

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=200907151142.48343.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /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 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.