[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/build: append user includes and libraries at the end of the compile flags



2011/10/18 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
>> That would be neater, but I don't think it's helpful to people for us
>> to be renaming our build variables.
>>
>> Anyone who is repackaging Xen (distros, XCP, ...) would prefer the
>> variables to say the same even if the names aren't ideal.
>
> As long as we keep the old names as well is there harm in adding new,
> more descriptive names as well? i.e.
> Â Â Â Â$(PREPEND_LIB) $(EXTRA_LIB) ... $(APPEND_LIB)
> ?
>
> or even PREPEND_LIB ?= $(EXTRA_LIB) and "$(PREPEND_LIB) ...
> $(APPEND_LIB)". That way things don't break today and when a packager
> finds they actually need the distinction they can switch.

I've just sent the new patch, it's called

tools/build: create two new variables called APPEND_ and PREPEND_ to
add compile flags at the beginning or at the end of the search path

Please take a look at that one if possible. I've left EXTRA_LIB and
EXTRA_INCLUDES as they where, so the new patch should be harmless for
people still using those, while adding the new PREPEND_ and APPEND_
variables.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.