From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Cc: Keir Fraser <Keir.Fraser@eu.citrix.com>
Subject: [PATCH] xen buildsystem: minor fixes
Date: Fri, 27 Mar 2009 16:37:31 +0100 [thread overview]
Message-ID: <200903271637.31648.Christoph.Egger@amd.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
Hi,
attached patch fixes
- one regression introduced in c/s 19399: don't prepend prefix twice
- getconf usage: NetBSD always had a 64bit off_t, so it's not needed.
Eliminates prints of "unknown variable" to stderr during build
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: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
[-- Attachment #2: xen_build.diff --]
[-- Type: text/x-diff, Size: 1408 bytes --]
diff -r 0b13d9787622 config/NetBSD.mk
--- a/config/NetBSD.mk Tue Mar 24 06:55:29 2009 +0000
+++ b/config/NetBSD.mk Fri Mar 27 16:21:23 2009 +0100
@@ -4,5 +4,5 @@ include $(XEN_ROOT)/config/StdGNU.mk
CURSES_LIBS = -lcurses
LIBLEAFDIR_x86_64 = lib
-LIBEXEC = $(PREFIX)/libexec
+LIBEXEC = libexec
PRIVATE_BINDIR = $(BINDIR)
diff -r 0b13d9787622 config/StdGNU.mk
--- a/config/StdGNU.mk Tue Mar 24 06:55:29 2009 +0000
+++ b/config/StdGNU.mk Fri Mar 27 16:21:23 2009 +0100
@@ -30,7 +30,7 @@ LIBLEAFDIR_x86_64 = lib64
LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
LIBDIR_x86_32 = $(PREFIX)/$(LIBLEAFDIR_x86_32)
LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
-LIBEXEC = $(LIBDIR_x86_32)/xen/bin
+LIBEXEC = $(LIBLEAFDIR_x86_32)/xen/bin
MANDIR = $(PREFIX)/share/man
MAN1DIR = $(MANDIR)/man1
MAN8DIR = $(MANDIR)/man8
diff -r 0b13d9787622 tools/Rules.mk
--- a/tools/Rules.mk Tue Mar 24 06:55:29 2009 +0000
+++ b/tools/Rules.mk Fri Mar 27 16:21:23 2009 +0100
@@ -33,10 +33,12 @@ CFLAGS += -D__XEN_TOOLS__
CFLAGS += -MMD -MF .$(@F).d
DEPS = .*.d
+ifneq ($(XEN_OS),NetBSD)
# Enable implicit LFS support *and* explicit LFS names.
CFLAGS += $(shell getconf LFS_CFLAGS)
CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
LDFLAGS += $(shell getconf LFS_LDFLAGS)
+endif
# 32-bit x86 does not perform well with -ve segment accesses on Xen.
CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2009-03-27 15:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-27 15:37 Christoph Egger [this message]
2009-03-27 16:10 ` [PATCH] xen buildsystem: minor fixes Keir Fraser
2009-03-27 16:45 ` Christoph Egger
2009-03-27 16:58 ` Keir Fraser
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=200903271637.31648.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=Keir.Fraser@eu.citrix.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.