summaryrefslogtreecommitdiff
path: root/VA/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'VA/Makefile')
-rw-r--r--VA/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/VA/Makefile b/VA/Makefile
index 5ab1e9a..e5a856d 100644
--- a/VA/Makefile
+++ b/VA/Makefile
@@ -3,13 +3,14 @@ NR_TASKLETS ?= 16
BL ?= 10
TYPE ?= INT32
ENERGY ?= 0
+WITH_ALLOC_OVERHEAD ?= 0
COMMON_INCLUDES := support
HOST_SOURCES := $(wildcard host/*.c)
DPU_SOURCES := $(wildcard dpu/*.c)
COMMON_FLAGS := -Wall -Wextra -g -I${COMMON_INCLUDES}
-HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DBL=${BL} -D${TYPE} -DENERGY=${ENERGY}
+HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DBL=${BL} -D${TYPE} -DENERGY=${ENERGY} -DWITH_ALLOC_OVERHEAD=${WITH_ALLOC_OVERHEAD}
DPU_FLAGS := ${COMMON_FLAGS} -O2 -DNR_TASKLETS=${NR_TASKLETS} -DBL=${BL} -D${TYPE}
QUIET = @