[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1 of 1 v2] tools: honour --libdir when it is passed to ./configure
Ian Campbell wrote: On Wed, 2012-06-20 at 23:51 +0100, Matt Wilson wrote:SHAREDIR ?= $(PREFIX)/share DOCDIR ?= $(SHAREDIR)/doc/xen @@ -67,7 +68,7 @@ endef ifneq ($(EXTRA_PREFIX),) EXTRA_INCLUDES += $(EXTRA_PREFIX)/include -EXTRA_LIB += $(EXTRA_PREFIX)/$(LIBLEAFDIR) +EXTRA_LIB += $(EXTRA_PREFIX)/$(shell basename $(LIBDIR))since we are sort of reverting 16950:0faf620bc749 here this could in theory $(EXTRA_PREFIX)/$(LIBDIR)? That doesn't remove the need to include Tools.mk though. :-/ Does anyone know if this EXTRA_PREFIX stuff is intended to be used for hypervisor and other non-tools builds? If not then we could consider pushing it down a level. In the tools case I think we already have a way to inject arbitrary -L and -I options -- so maybe this can just go away? CCing Ian (who wrote 16950) and Olaf, whose been doing stuff in this area. EXTRA_LIB was keep to maintain backward compatibility, but the use of the APPEND_ and PREPEND_ flags should provide the same functionality with more flexibility (see 24141:078392e5078d). I don't think the hypervisor needs any special libs to build, at least I never had to pass any extra libs to build it on the several not so common systems I've build Xen on (NetBSD and uClibc). _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |