[PATCHv2 4/4] pipe-loader: add pipe loader for freedreno/msm

Rob Clark robdclark at gmail.com
Tue Feb 11 04:09:37 PST 2014


On Mon, Feb 10, 2014 at 11:30 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 10/02/14 18:34, Rob Clark wrote:
>> From: Rob Clark <robclark at freedesktop.org>
>>
>> Signed-off-by: Rob Clark <robclark at freedesktop.org>
>> ---
>>  src/gallium/targets/pipe-loader/Makefile.am | 16 ++++++++++++++++
>>  src/gallium/targets/pipe-loader/pipe_msm.c  | 21 +++++++++++++++++++++
>>  2 files changed, 37 insertions(+)
>>  create mode 100644 src/gallium/targets/pipe-loader/pipe_msm.c
>>
>> diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
>> index 97733c1..8a0f254 100644
>> --- a/src/gallium/targets/pipe-loader/Makefile.am
>> +++ b/src/gallium/targets/pipe-loader/Makefile.am
>> @@ -132,6 +132,22 @@ pipe_radeonsi_la_LDFLAGS += $(LLVM_LDFLAGS)
>>  endif
>>  endif
>>
>> +if HAVE_GALLIUM_FREEDRENO
>> +pipe_LTLIBRARIES += pipe_msm.la
>> +pipe_msm_la_SOURCES = pipe_msm.c
>> +nodist_EXTRA_pipe_msm_la_SOURCES = dummy.cpp
>> +pipe_msm_la_LIBADD = \
>> +     $(PIPE_LIBS) \
>> +     $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
>> +     $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
> Should have spotted this earlier, but it seems like you're forgot to
> link against libdrm_freedreno ?
>
> + $(FREEDRENO_LIBS) \

hmm, good point.. I wonder why it works?

> -Emil


More information about the dri-devel mailing list