debuggers.hg
changeset 13657:a754192ffce6
libelf: add to libxc
This patch makes libelf available to the tools, by symlinking the source
files and compiling them into libxc.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
---
tools/libxc/Makefile | 15 +++++++++++++++
1 file changed, 15 insertions(+)
This patch makes libelf available to the tools, by symlinking the source
files and compiling them into libxc.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
---
tools/libxc/Makefile | 15 +++++++++++++++
1 file changed, 15 insertions(+)
author | Emmanuel Ackaouy <ack@xensource.com> |
---|---|
date | Thu Jan 25 22:16:52 2007 +0000 (2007-01-25) |
parents | 3c9926aadec5 |
children | a63d1af01b3d |
files | tools/libxc/Makefile |
line diff
1.1 --- a/tools/libxc/Makefile Thu Jan 25 22:16:52 2007 +0000 1.2 +++ b/tools/libxc/Makefile Thu Jan 25 22:16:52 2007 +0000 1.3 @@ -30,6 +30,21 @@ GUEST_SRCS-$(CONFIG_IA64) += xc_linux_bu 1.4 GUEST_SRCS-$(CONFIG_MIGRATE) += xc_linux_restore.c xc_linux_save.c 1.5 GUEST_SRCS-$(CONFIG_HVM) += xc_hvm_build.c xc_hvm_restore.c xc_hvm_save.c 1.6 1.7 +# symlink libelf from xen/common/libelf/ 1.8 +LIBELF_SRCS := libelf-tools.c libelf-loader.c 1.9 +LIBELF_SRCS += libelf-dominfo.c libelf-relocate.c 1.10 + 1.11 +libelf-tools.o: libelf-tools.c libelf-private.h 1.12 +libelf-loader.o: libelf-loader.c libelf-private.h 1.13 +libelf-dominfo.o: libelf-dominfo.c libelf-private.h 1.14 +libelf-relocate.o: libelf-relocate.c libelf-private.h 1.15 + 1.16 +$(LIBELF_SRCS) libelf-private.h: 1.17 + ln -s ../../xen/common/libelf/$@ $@ 1.18 + 1.19 +# add libelf bits to libxc 1.20 +GUEST_SRCS-y += $(LIBELF_SRCS) 1.21 + 1.22 -include $(XEN_TARGET_ARCH)/Makefile 1.23 1.24 CFLAGS += -Werror -Wmissing-prototypes