Skip to contentSkip to conversation

Creates tools/libxc/ia64 directory.

Xen-changelog Hollis Blanchard 2 participants 2 messages Jul 28, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Xen patchbot-unstable

diff -r dc26ac2f7718 -r dab0a5650e6d tools/libxc/Makefile

tools/libxc/Makefile Tue Jul 11 11:29:25 2006 -0600 renamed from tools/libxc/Makefile Mon Jul 10 14:14:11 2006 -0600 +0 -0
@@ -30,9 +30,11 @@ GUEST_SRCS-y += xc_load_bin.c
 GUEST_SRCS-y += xc_load_bin.c
 GUEST_SRCS-y += xc_load_elf.c

tools/libxc/Makefile Tue Jul 11 11:29:25 2006 -0600 GUEST_SRCS-y += xc_load_bin.c · line 40

Quoted 10 lines
tools/libxc/Makefile Tue Jul 11 11:29:25 2006 -0600 renamed from tools/libxc/Makefile Mon Jul 10 14:14:11 2006 -0600 +3 -1
 GUEST_SRCS-y += xg_private.c
-GUEST_SRCS-$(CONFIG_IA64) += xc_ia64_stubs.c
 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
 
 CFLAGS   += -Werror
 CFLAGS   += -fno-strict-aliasing 

I'm not sure this is the best way. We'll need to do the same thing for xc_ppc_linux_build.c, but it seems a little silly to unconditionally include powerpc/Makefile as well... perhaps

	-include $(XEN_TARGET_ARCH)/Makefile

would suffice?

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center
#2 lore raw
Quoted 5 lines · Hollis Blanchard

I'm not sure this is the best way. We'll need to do the same thing for xc_ppc_linux_build.c, but it seems a little silly to unconditionally include powerpc/Makefile as well... perhaps

	-include $(XEN_TARGET_ARCH)/Makefile

would suffice?

That's actually what I ended up checking in.

-- Keir