[Mesa-dev] [PATCH 14/37] r300: add symlink to ralloc.c and register_allocate.c

Emil Velikov emil.l.velikov at gmail.com
Mon Nov 11 16:54:34 PST 2013


On 11/11/13 23:03, Tom Stellard wrote:
> On Sat, Nov 02, 2013 at 07:00:44PM +0000, Emil Velikov wrote:
>> Make automake's subdir-objects work.
>> Update includes.
>>
>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
>> ---
>>  src/gallium/drivers/r300/Makefile.am         | 6 +++---
>>  src/gallium/drivers/r300/ralloc.c            | 1 +
>>  src/gallium/drivers/r300/register_allocate.c | 1 +
>>  3 files changed, 5 insertions(+), 3 deletions(-)
>>  create mode 120000 src/gallium/drivers/r300/ralloc.c
>>  create mode 120000 src/gallium/drivers/r300/register_allocate.c
>>
>> diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
>> index 14aaf03..524df24 100644
>> --- a/src/gallium/drivers/r300/Makefile.am
>> +++ b/src/gallium/drivers/r300/Makefile.am
>> @@ -8,7 +8,7 @@ TESTS = r300_compiler_tests
>>  
>>  AM_CFLAGS = \
>>  	-I$(top_srcdir)/src/gallium/drivers \
>> -	-I$(top_srcdir)/include \
>> +	-I$(top_srcdir)/src/mesa/program \
>>  	-I$(top_srcdir)/src/mesa \
>>  	-I$(top_srcdir)/src/glsl \
>>  	-I$(top_srcdir)/src/mapi \
>> @@ -40,5 +40,5 @@ libr300_la_SOURCES = $(C_SOURCES)
>>  # Solve this by building them into a separate helper library that can be linked
>>  # in place of libmesagallium.
>>  libr300_helper_la_SOURCES = \
>> -	$(top_srcdir)/src/glsl/ralloc.c \
>> -	$(top_srcdir)/src/mesa/program/register_allocate.c
>> +	ralloc.c \
>> +	register_allocate.c
>> diff --git a/src/gallium/drivers/r300/ralloc.c b/src/gallium/drivers/r300/ralloc.c
>> new file mode 120000
>> index 0000000..c5402db
>> --- /dev/null
>> +++ b/src/gallium/drivers/r300/ralloc.c
>> @@ -0,0 +1 @@
>> +../../../glsl/ralloc.c
>> \ No newline at end of file
>> diff --git a/src/gallium/drivers/r300/register_allocate.c b/src/gallium/drivers/r300/register_allocate.c
>> new file mode 120000
>> index 0000000..2117950
>> --- /dev/null
>> +++ b/src/gallium/drivers/r300/register_allocate.c
>> @@ -0,0 +1 @@
>> +../../../mesa/program/register_allocate.c
> 
> Will this still work with out-of-tree builds?
> 
Seems like it. Note that I can only build test this, but the compiler
test(s) seems to run fine.
> -Tom
> 
>> \ No newline at end of file
>> -- 
>> 1.8.4.2
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list