From 4f2049b346df442746ba6ddb0f30428f7af54bb7 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 28 Apr 2014 11:53:19 +0800 Subject: [PATCH] allow to set archs to be compiled in from environment variable CAPSTONE_ARCHS --- config.mk | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/config.mk b/config.mk index 46c108d3..00cc8e57 100644 --- a/config.mk +++ b/config.mk @@ -3,29 +3,8 @@ ################################################################################ # Specify which archs you want to compile in. By default, we build all archs. -# DO NOT touch the line below. -CAPSTONE_ARCHS = -# Comment out the line below if you don't want to support ARM -CAPSTONE_ARCHS += arm - -# Comment out the line below if you don't want to support ARM64 -CAPSTONE_ARCHS += aarch64 - -# Comment out the line below if you don't want to support Mips -CAPSTONE_ARCHS += mips - -# Comment out the line below if you don't want to support PowerPC -CAPSTONE_ARCHS += powerpc - -# Comment out the line below if you don't want to support Sparc -CAPSTONE_ARCHS += sparc - -# Comment out the line below if you don't want to support SystemZ -CAPSTONE_ARCHS += systemz - -# Comment out the line below if you don't want to support Intel (16/32/64-bit) -CAPSTONE_ARCHS += x86 +CAPSTONE_ARCHS ?= arm aarch64 mips powerpc sparc systemz x86 ################################################################################