From a702b60782d713ebce9199b0007d8beb083e49fe Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 12 Apr 2017 12:33:12 +0200 Subject: chamelium: Fix build issues on Android Makefile.sources are included 1:1 in Android.mk files, and are not parsed by automake. And yet those had some automake conditional logic. Moving it to .am file is enough for now. Also igt_chamelium.h included config.h without proper "HAVE_CONFIG_H" guard, and the file itself was included unconditionally. Signed-off-by: Arkadiusz Hiler Reviewed-by: Michal Wajdeczko --- lib/Makefile.sources | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/Makefile.sources') diff --git a/lib/Makefile.sources b/lib/Makefile.sources index 6348487f..53fdb54c 100644 --- a/lib/Makefile.sources +++ b/lib/Makefile.sources @@ -85,13 +85,6 @@ lib_source_list = \ igt_kmod.h \ $(NULL) -if HAVE_CHAMELIUM -lib_source_list += \ - igt_chamelium.h \ - igt_chamelium.c \ - $(NULL) -endif - .PHONY: version.h.tmp # leaving a space here to work around automake's conditionals -- cgit v1.2.3