diff options
author | Paul Selkirk <paul@psgd.org> | 2017-09-07 18:17:12 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-09-07 18:20:55 -0400 |
commit | 72227852729ed3125af58cff3f593340b3247fed (patch) | |
tree | 234d45ae587ce51bfbbce6d8c059a121a44bf1e6 /projects/hsm/Makefile | |
parent | 2e1f88062c7ec6cd12688ce7522e802bbf09bba1 (diff) | |
parent | 5ff8c9512db48d128cf07904f68eb5139bebf952 (diff) |
Rebase branch 'profiling' from master
Diffstat (limited to 'projects/hsm/Makefile')
-rw-r--r-- | projects/hsm/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/projects/hsm/Makefile b/projects/hsm/Makefile index 429069d..9a75b92 100644 --- a/projects/hsm/Makefile +++ b/projects/hsm/Makefile @@ -12,8 +12,6 @@ OBJS = mgmt-cli.o \ log.o \ $(TOPLEVEL)/task.o -CFLAGS += -DTASK_METRICS - CFLAGS += -DNUM_RPC_TASK=4 CFLAGS += -I$(LIBHAL_SRC) @@ -32,6 +30,10 @@ LIBS += $(LIBPROF_BLD)/libprof.a LDFLAGS += --specs=rdimon.specs -lc -lrdimon endif +ifdef DO_TASK_METRICS +CFLAGS += -DDO_TASK_METRICS +endif + all: $(PROJ:=.elf) %.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS) |