fix regression makefile

This commit is contained in:
Dolu1990 2018-12-07 23:50:13 +01:00
parent 52419fd7ad
commit 9330945623

View file

@ -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