diff options
Diffstat (limited to 'graphics/libdrm/files/amdgpu_Makefile.am')
-rw-r--r-- | graphics/libdrm/files/amdgpu_Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/libdrm/files/amdgpu_Makefile.am b/graphics/libdrm/files/amdgpu_Makefile.am new file mode 100644 index 000000000000..3d89a0b2ba7c --- /dev/null +++ b/graphics/libdrm/files/amdgpu_Makefile.am @@ -0,0 +1,13 @@ +--- amdgpu/Makefile.am.orig 2017-07-19 09:37:32 UTC ++++ amdgpu/Makefile.am +@@ -31,8 +31,8 @@ AM_CFLAGS = \ + -I$(top_srcdir)/include/drm + + libdrmdatadir = @libdrmdatadir@ +-ASIC_ID_TABLE_NUM_ENTRIES := $(shell egrep -ci '^[0-9a-f]{4},.*[0-9a-f]+,' \ +- $(top_srcdir)/data/amdgpu.ids) ++ASIC_ID_TABLE_NUM_ENTRIES != egrep -ci '^[0-9a-f]{4},.*[0-9a-f]+,' \ ++ $(top_srcdir)/data/amdgpu.ids + AM_CPPFLAGS = -DAMDGPU_ASIC_ID_TABLE=\"${libdrmdatadir}/amdgpu.ids\" \ + -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(ASIC_ID_TABLE_NUM_ENTRIES) + |