Without lib-jsonc, one build error happens. So this patch
is to fix this.

ras_tests.c:33:10: fatal error: json.h: No such file or directory
 #include "json.h"
          ^~~~~~~~
compilation terminated.
Makefile:636: recipe for target 'amdgpu_test-ras_tests.o' failed

Change-Id: I2ca5f813a6d3e118a5793ce80776ee2b27490239
Signed-off-by: Guchun Chen <guchun.c...@amd.com>
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index d274a3e9..afcfd489 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,9 +10,11 @@ endif
 
 if HAVE_AMDGPU
 if HAVE_CUNIT
+if HAVE_JSONC
 SUBDIRS += amdgpu
 endif
 endif
+endif
 
 if HAVE_EXYNOS
 SUBDIRS += exynos
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to