[Mesa-dev] [RFC] Consolidate the remaining source files to Makefile.sources

Jakob Bornecrantz wallbraker at gmail.com
Thu Sep 12 10:04:43 PDT 2013


On Thu, Aug 15, 2013 at 7:04 PM, Emil Velikov <emil.l.velikov at gmail.com>wrote:

> Hello list
>
> Feeling inspired by the automake work done in mesa, I felt like
> finishing a few things that did not receive too much attention
>  * use Makefile.sources wherever possible
>  * cleanup the duplicated C{,PP,XX}FLAGS and factor out the the common
> ones into Automake.inc
>
> If anyone is interested I have pushed my preliminary work to the
> makefile.sources branch at https://github.com/evelikov/Mesa/
>
> Currently I have gone through the following:
>  gallium/drivers
>  gallium/state_trackers/dri/drm
>  gallium/state_trackers/dri/sw
>  gallium/state_trackers/vega
>  gallium/state_trackers/xorg
>
> Producing the following diff stat:
>  54 files changed, 352 insertions(+), 552 deletions(-)
>
>
> Pros:
> * patches such as "gallium/dri-targets: hide all symbols except for
> __driDriverExtensions" will be brought down to changing only with 2-3 lines
> * one less chance of breaking builds when someone forgets to update the
> SCons/Makefile.am/etc build, after adding/removing a file
>
> Cons:
> * Non nouveau changes will be only(lacking any other the hardware atm).
> Note that I will check the symbols for all drivers, to ensure that I do
> not cause chaos.
>
> Curious if anyone is interested and have any comments on this.
> Note: there may be some git rebase fails as I've started this ~3months ago
>

This seems to be have dropped on the floor.

The Makefile.sources patches looks good, can't comment on the other ones.

If you rebase them and you clobber the Makefile.sources ones, then send that
along with the reset of the patches on that branch out I'm sure they will
get reviewed.

Cheers, Jakob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130912/2f670e21/attachment-0001.html>


More information about the mesa-dev mailing list