diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-09 14:45:10 +0200 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-09 14:45:10 +0200 |
| commit | 55928ee11b560d4c90ad7362d65794a83e11f659 (patch) | |
| tree | df3df5b0a2575191926b583db28b32ba1fc5fe85 /TRNS/Makefile | |
| parent | 1f538b06ecf5dabb642b15c9bbaa890cbd5d2fa9 (diff) | |
TRNS: Guard dfatool output behind a compile-time flag
Diffstat (limited to 'TRNS/Makefile')
| -rw-r--r-- | TRNS/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TRNS/Makefile b/TRNS/Makefile index 0a5f998..9d6a60b 100644 --- a/TRNS/Makefile +++ b/TRNS/Makefile @@ -6,8 +6,10 @@ COMMON_INCLUDES := support HOST_SOURCES := $(wildcard host/*.c) DPU_SOURCES := $(wildcard dpu/*.c) +dfatool_timing ?= 1 + 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} -DENERGY=${ENERGY} +HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DENERGY=${ENERGY} -DDFATOOL_TIMING=${dfatool_timing} DPU_FLAGS := ${COMMON_FLAGS} -O2 -DNR_TASKLETS=${NR_TASKLETS} QUIET = @ |
