Commit e1be16ee authored by Daniel Vetter's avatar Daniel Vetter Committed by Petri Latvala

lib: Also copy vc4_packet.h

Eric missed in

commit d21e95ca
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Nov 10 12:39:56 2017 -0800

    tests: Remove libdrm_vc4 dependency.

that the uapi headers don't include vc4_packet.h. Which totally broke
the build.

Strangely CI didn't catch this in the first build attempt, no idea
how/where it picked up the vc4_packet.h.

As an interim solution let's just copy the one I have from libdrm
over. Long-term we might want to either re-intro the libdrm_vc4
dpendency, or maybe put vc4_packet.h into the kernel's uapi folder, or
something else. But that's up to Eric.

Cc: Eric Anholt <eric@anholt.net>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
Acked-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Tested-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
parent 65168263
......@@ -17,7 +17,8 @@ noinst_HEADERS = check-ndebug.h
if BUILD_VC4
libintel_tools_la_SOURCES += \
igt_vc4.c \
igt_vc4.h
igt_vc4.h \
vc4_packet.h
endif
if !HAVE_LIBDRM_INTEL
......
......@@ -48,6 +48,7 @@ lib_headers = [
'uwildmat/uwildmat.h',
'igt_kmod.h',
'igt_vc4.h',
'vc4_packet.h',
]
lib_sources = [
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment