[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] minios: make mini-os_app.o depend on included xen libraries
On Tue, Sep 27, 2016 at 02:06:24PM +0200, Juergen Gross wrote: > When building Mini-OS with an app which is using xen libraries like > libxenguest.a let mini-os_app.o depend on the library binaries as it > is statically linked with them. > > While at it add "-T" before app.lds for linking mini-os_app.o to avoid > a linker warning. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > Makefile | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 81b936f..1d2324c 100644 > --- a/Makefile > +++ b/Makefile > @@ -125,11 +125,18 @@ OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS)) > ifeq ($(libc),y) > ifeq ($(CONFIG_XC),y) > APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toollog > -whole-archive -lxentoollog -no-whole-archive > +LIBS += > $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toollog/libxentoollog.a I don't follow. Why is the original APP_LDLIBS not enough? The new dependency doesn't seem to generate any new rules. What do I miss? Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |