From bccc0ec6a3fdae880e14770c2ff5770fb86ea6fc Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 25 Jan 2016 18:33:12 +0000 Subject: build: Disable x86-specific utilities on non-x86 Some bits can't be built on non-x86 architectures, mostly because they require x86-specific assembly primitives. Disable these by default on non-x86 architectures. Signed-off-by: Daniel Stone Reviewed-by: Eric Anholt --- Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4f71a3a6..60168628 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,13 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -SUBDIRS = lib man tools scripts benchmarks demos overlay +SUBDIRS = lib man tools scripts benchmarks +if BUILD_TESTS +SUBDIRS += tests +endif + +if BUILD_X86 if BUILD_ASSEMBLER SUBDIRS += assembler endif @@ -31,8 +36,7 @@ if BUILD_SHADER_DEBUGGER SUBDIRS += debugger endif -if BUILD_TESTS -SUBDIRS += tests +SUBDIRS += overlay demos benchmarks endif SUBDIRS += docs -- cgit v1.2.3