From 58be08a0e5e42d919d70e27ff31b29138255b564 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Fri, 25 Feb 2022 15:13:10 +0000 Subject: [PATCH] libs/guest: rename ELF_OBJS to LIBELF_OBJS It seems a better name. Later, we will introduce LIBX86_OBJS to collect lib/x86/* objects. Signed-off-by: Anthony PERARD Reviewed-by: Juergen Gross --- tools/libs/guest/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/libs/guest/Makefile b/tools/libs/guest/Makefile index 17eb0ebf4b..7707d4300f 100644 --- a/tools/libs/guest/Makefile +++ b/tools/libs/guest/Makefile @@ -33,13 +33,12 @@ CFLAGS += -I$(XEN_libxenctrl) vpath %.c ../../../xen/common/libelf CFLAGS += -I../../../xen/common/libelf -ELF_OBJS-y += libelf-tools.o libelf-loader.o -ELF_OBJS-y += libelf-dominfo.o +LIBELF_OBJS += libelf-tools.o libelf-loader.o +LIBELF_OBJS += libelf-dominfo.o -OBJS-y += $(ELF_OBJS-y) +OBJS-y += $(LIBELF_OBJS) -$(ELF_OBJS-y): CFLAGS += -Wno-pointer-sign -$(ELF_OBJS-y:.o=.opic): CFLAGS += -Wno-pointer-sign +$(LIBELF_OBJS) $(LIBELF_OBJS:.o=.opic): CFLAGS += -Wno-pointer-sign ifeq ($(CONFIG_X86),y) # Add libx86 to the build vpath %.c ../../../xen/lib/x86 -- 2.30.2