WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Building on FreeBSD

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Building on FreeBSD
From: Julian Stecklina <der_julian@xxxxxx>
Date: Thu, 16 Aug 2007 15:22:03 +0200
Delivery-date: Thu, 16 Aug 2007 06:22:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070730)
Hello,

the attached patch enables building the hypervisor (gmake xen) on FreeBSD (7-CURRENT, to be exact).

Regards,
Julian
diff -r 7953164cebb6 config/FreeBSD.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/config/FreeBSD.mk Thu Aug 16 15:17:59 2007 +0200
@@ -0,0 +1,1 @@
+include $(XEN_ROOT)/config/StdGNU.mk
diff -r 7953164cebb6 config/x86_32.mk
--- a/config/x86_32.mk  Tue Aug 07 09:07:29 2007 +0100
+++ b/config/x86_32.mk  Thu Aug 16 15:17:59 2007 +0200
@@ -13,6 +13,8 @@ LIBDIR := lib
 # Use only if calling $(LD) directly.
 ifeq ($(XEN_OS),OpenBSD)
 LDFLAGS_DIRECT += -melf_i386_obsd
+else ifeq ($(XEN_OS),FreeBSD)
+LDFLAGS_DIRECT += -melf_i386_fbsd
 else
 LDFLAGS_DIRECT += -melf_i386
 endif
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Building on FreeBSD, Julian Stecklina <=