[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [LIBXC] Generic include of arch-specific sub-makefile.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 1f7423795115cb1e18b1d56f28ae45f474d29ce3
# Parent  a438506e241df054ba801fa08fe833005102aba9
[LIBXC] Generic include of arch-specific sub-makefile.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/libxc/Makefile      |    3 +--
 tools/libxc/ia64/Makefile |    8 ++++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff -r a438506e241d -r 1f7423795115 tools/libxc/Makefile
--- a/tools/libxc/Makefile      Fri Jul 28 13:00:57 2006 +0100
+++ b/tools/libxc/Makefile      Fri Jul 28 14:00:57 2006 +0100
@@ -35,8 +35,7 @@ GUEST_SRCS-$(CONFIG_MIGRATE) += xc_linux
 GUEST_SRCS-$(CONFIG_MIGRATE) += xc_linux_restore.c xc_linux_save.c
 GUEST_SRCS-$(CONFIG_HVM) += xc_hvm_build.c
 
-# This Makefile only adds files if CONFIG_IA64 is y.
-include ia64/Makefile
+-include $(XEN_TARGET_ARCH)/Makefile
 
 CFLAGS   += -Werror
 CFLAGS   += -fno-strict-aliasing
diff -r a438506e241d -r 1f7423795115 tools/libxc/ia64/Makefile
--- a/tools/libxc/ia64/Makefile Fri Jul 28 13:00:57 2006 +0100
+++ b/tools/libxc/ia64/Makefile Fri Jul 28 14:00:57 2006 +0100
@@ -1,5 +1,5 @@ CTRL_SRCS-$(CONFIG_IA64) += ia64/xc_ia64
-CTRL_SRCS-$(CONFIG_IA64) += ia64/xc_ia64_stubs.c
+CTRL_SRCS-y += ia64/xc_ia64_stubs.c
 
-GUEST_SRCS-$(CONFIG_IA64) += ia64/xc_ia64_hvm_build.c
-GUEST_SRCS-$(CONFIG_IA64) += ia64/xc_ia64_linux_save.c
-GUEST_SRCS-$(CONFIG_IA64) += ia64/xc_ia64_linux_restore.c
+GUEST_SRCS-y += ia64/xc_ia64_hvm_build.c
+GUEST_SRCS-y += ia64/xc_ia64_linux_save.c
+GUEST_SRCS-y += ia64/xc_ia64_linux_restore.c

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.