From 9330945623f58dead70abca50223a9565297862f Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 7 Dec 2018 23:50:13 +0100 Subject: [PATCH] fix regression makefile --- src/test/cpp/regression/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/cpp/regression/makefile b/src/test/cpp/regression/makefile index 2e481c4..ba24951 100644 --- a/src/test/cpp/regression/makefile +++ b/src/test/cpp/regression/makefile @@ -46,11 +46,11 @@ else endif -ifneq (grep timerInterrupt ../../../../VexRiscv.v -w),) +ifneq ($(shell grep timerInterrupt ../../../../VexRiscv.v -w),) ADDCFLAGS += -CFLAGS -DTIMER_INTERRUPT endif -ifneq (grep externalInterrupt ../../../../VexRiscv.v -w),) +ifneq ($(shell grep externalInterrupt ../../../../VexRiscv.v -w),) ADDCFLAGS += -CFLAGS -DEXTERNAL_INTERRUPT endif