From 6c18028a35db35c45c8c342d43abd74b13ef1605 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 4 Nov 2017 19:23:04 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10946 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/nil.mk | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'os/nil/nil.mk') diff --git a/os/nil/nil.mk b/os/nil/nil.mk index f0717ba68..800b702c8 100644 --- a/os/nil/nil.mk +++ b/os/nil/nil.mk @@ -15,12 +15,16 @@ endif ifneq ($(findstring CH_CFG_USE_MEMPOOLS TRUE,$(CHCONF)),) KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmempools.c endif +ifneq ($(findstring CH_CFG_USE_FACTORY TRUE,$(CHCONF)),) +KERNSRC += $(CHIBIOS)/os/common/oslib/src/chfactory.c +endif else KERNSRC := ${CHIBIOS}/os/nil/src/ch.c \ - ${CHIBIOS}/os/common/oslib/src/chmboxes.c \ - ${CHIBIOS}/os/common/oslib/src/chmemcore.c \ - ${CHIBIOS}/os/common/oslib/src/chmempools.c \ - ${CHIBIOS}/os/common/oslib/src/chheap.c + $(CHIBIOS)/os/common/oslib/src/chmboxes.c \ + $(CHIBIOS)/os/common/oslib/src/chmemcore.c \ + $(CHIBIOS)/os/common/oslib/src/chheap.c \ + $(CHIBIOS)/os/common/oslib/src/chmempools.c \ + $(CHIBIOS)/os/common/oslib/src/chfactory.c endif # Required include directories -- cgit v1.2.3