ia64/xen-unstable

changeset 19714:76afaac7df86

libxc: fix link error on ia64

On ia64, xen-unstable 19698:f72d26c00002 cannot be built:
../../tools/libxc/libxenguest.so: undefined reference to
`xc_core_arch_map_p2m_writable'
../../tools/libxc/libxenguest.so: undefined reference to `xc_map_m2p'

Because xc_offline_page.c requires xc_map_m2p() in xc_domain_save.c,
xc_offline_page.c must be compiled only if CONFIG_MIGRATE=3Dy.

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 04 10:36:36 2009 +0100 (2009-06-04)
parents e638b32985fb
children f569292aacc5
files tools/libxc/Makefile
line diff
     1.1 --- a/tools/libxc/Makefile	Thu Jun 04 10:36:01 2009 +0100
     1.2 +++ b/tools/libxc/Makefile	Thu Jun 04 10:36:36 2009 +0100
     1.3 @@ -32,7 +32,7 @@ CTRL_SRCS-$(CONFIG_MiniOS) += xc_minios.
     1.4  GUEST_SRCS-y :=
     1.5  GUEST_SRCS-y += xg_private.c xc_suspend.c
     1.6  GUEST_SRCS-$(CONFIG_MIGRATE) += xc_domain_restore.c xc_domain_save.c
     1.7 -GUEST_SRCS-y += xc_offline_page.c
     1.8 +GUEST_SRCS-$(CONFIG_MIGRATE) += xc_offline_page.c
     1.9  GUEST_SRCS-$(CONFIG_HVM) += xc_hvm_build.c
    1.10  
    1.11  vpath %.c ../../xen/common/libelf