From: Oscar Mateo Date: Tue, 12 Nov 2013 11:50:37 +0000 (+0000) Subject: build: Move logic to tests/Makefile.am and away from Makefile.sources X-Git-Tag: intel-gpu-tools-1.6~335 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c7d5a52a7f4d79061e6cbb4627df3c194958fff;p=profile%2Fextras%2Fintel-gpu-tools.git build: Move logic to tests/Makefile.am and away from Makefile.sources Makefile.sources is just a listing with all the sources, and the logic to use these sources goes into either Makefile.am (automake) or Android.mk (make). Signed-off-by: Oscar Mateo Signed-off-by: Daniel Vetter --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 9e1b13f..8e293f7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,9 @@ include Makefile.sources +if HAVE_NOUVEAU + TESTS_progs_M += $(NOUVEAU_TESTS_M) +endif + if BUILD_TESTS list-single-tests: @echo TESTLIST diff --git a/tests/Makefile.sources b/tests/Makefile.sources index 311f4b6..5f4d282 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -7,13 +7,11 @@ noinst_PROGRAMS = \ $(TESTS_testsuite) \ $(NULL) -if HAVE_NOUVEAU NOUVEAU_TESTS_M = \ prime_nv_api \ prime_nv_pcopy \ prime_nv_test \ $(NULL) -endif TESTS_progs_M = \ drv_suspend \ @@ -55,7 +53,6 @@ TESTS_progs_M = \ kms_pipe_crc_basic \ kms_render \ kms_setmode \ - $(NOUVEAU_TESTS_M) \ pm_pc8 \ prime_self_import \ template \