about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Rodler <michael.rodler@paluno.uni-due.de>2022-04-04 13:26:52 +0200
committerMichael Rodler <michael.rodler@paluno.uni-due.de>2022-04-06 11:54:35 +0200
commit8385bc794a43dbb5f9a5a68189bb9a540f790bca (patch)
treeeb74223cfa83e17f407ca7af75d5830bc4346708
parent3c5edab724f7e067163e85e94077c48894989573 (diff)
downloadafl++-8385bc794a43dbb5f9a5a68189bb9a540f790bca.tar.gz
make flag to avoid building nyx mode
-rw-r--r--GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d31c52da..3301a915 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -625,8 +625,10 @@ ifeq "$(ARCH)" "aarch64"
 	-$(MAKE) -C coresight_mode
 endif
 ifeq "$(SYS)" "Linux"
+ifndef NO_NYX
 	-cd nyx_mode && ./build_nyx_support.sh
 endif
+endif
 	-cd qemu_mode && sh ./build_qemu_support.sh
 	-cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
 endif
@@ -645,8 +647,10 @@ ifeq "$(ARCH)" "aarch64"
 	-$(MAKE) -C coresight_mode
 endif
 ifeq "$(SYS)" "Linux"
+ifndef NO_NYX
 	-cd nyx_mode && ./build_nyx_support.sh
 endif
+endif
 	-cd qemu_mode && sh ./build_qemu_support.sh
 	-cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
 endif
@@ -661,8 +665,10 @@ endif
 	-$(MAKE) -C utils/libtokencap
 	# -$(MAKE) -C utils/plot_ui
 ifeq "$(SYS)" "Linux"
+ifndef NO_NYX
 	-cd nyx_mode && ./build_nyx_support.sh
 endif
+endif
 
 %.8:	%
 	@echo .TH $* 8 $(BUILD_DATE) "afl++" > $@