[Mesa-dev] [PATCH 2/2] egl: add linux-dmabuf-unstable-v1-protocol.c to "nodist"

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 20 13:37:01 UTC 2017


On 20 July 2017 at 13:54, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi Emil,
>
> On 20 July 2017 at 13:51, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 19 July 2017 at 23:44, Andres Gomez <agomez at igalia.com> wrote:
>>> -dri2_backend_FILES += drivers/dri2/platform_wayland.c  \
>>> -       drivers/dri2/linux-dmabuf-unstable-v1-protocol.c
>>> +dri2_backend_FILES += drivers/dri2/platform_wayland.c
>>> +nodist_dri2_backend_FILES += drivers/dri2/linux-dmabuf-unstable-v1-protocol.c
>>>  endif
>>>
>>>  if HAVE_PLATFORM_DRM
>>> @@ -119,6 +122,9 @@ libEGL_common_la_SOURCES += \
>>>         $(dri2_backend_FILES) \
>>>         $(dri3_backend_FILES)
>>>
>>> +nodist_libEGL_common_la_SOURCES += \
>>> +       $(nodist_dri2_backend_FILES)
>>> +
>> Just add the files two generated file to BUILT_SOURCES. That's the way
>> we handle it through the tree.
>
> They're already in BUILT_SOURCES (line 78 in master), so I guess
> something else is wrong.
>
Thanks for the correction Dan.

Upon a second look - BUILT_SOURCES line is in a conditional which is
causing the issue. Moving it outside solves the problem on my system.

-Emil


More information about the mesa-dev mailing list