diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-03-13 09:52:55 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-03-13 09:52:55 +0000 |
commit | 7d11f36c4837c16ae0213627c5cd9588522b4335 (patch) | |
tree | 7bbe0813bc3640bf0feb728f429caae3e22b6340 /os/rt | |
parent | bb88c523426b52141c20b622305dd631f2c7a22d (diff) | |
download | ChibiOS-7d11f36c4837c16ae0213627c5cd9588522b4335.tar.gz ChibiOS-7d11f36c4837c16ae0213627c5cd9588522b4335.tar.bz2 ChibiOS-7d11f36c4837c16ae0213627c5cd9588522b4335.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11723 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/rt.mk | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/os/rt/rt.mk b/os/rt/rt.mk index f415cb341..8816a61e5 100644 --- a/os/rt/rt.mk +++ b/os/rt/rt.mk @@ -42,21 +42,6 @@ endif ifneq ($(findstring CH_CFG_USE_DYNAMIC TRUE,$(CHCONF)),)
KERNSRC += $(CHIBIOS)/os/rt/src/chdynamic.c
endif
-ifneq ($(findstring CH_CFG_USE_MAILBOXES TRUE,$(CHCONF)),)
-KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmboxes.c
-endif
-ifneq ($(findstring CH_CFG_USE_MEMCORE TRUE,$(CHCONF)),)
-KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmemcore.c
-endif
-ifneq ($(findstring CH_CFG_USE_HEAP TRUE,$(CHCONF)),)
-KERNSRC += $(CHIBIOS)/os/common/oslib/src/chheap.c
-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/rt/src/chsys.c \
$(CHIBIOS)/os/rt/src/chdebug.c \
@@ -72,18 +57,15 @@ KERNSRC := $(CHIBIOS)/os/rt/src/chsys.c \ $(CHIBIOS)/os/rt/src/chcond.c \
$(CHIBIOS)/os/rt/src/chevents.c \
$(CHIBIOS)/os/rt/src/chmsg.c \
- $(CHIBIOS)/os/rt/src/chdynamic.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
+ $(CHIBIOS)/os/rt/src/chdynamic.c
endif
# Required include directories
-KERNINC := $(CHIBIOS)/os/rt/include \
- $(CHIBIOS)/os/common/oslib/include
+KERNINC := $(CHIBIOS)/os/rt/include
# Shared variables
ALLCSRC += $(KERNSRC)
ALLINC += $(KERNINC)
+
+# OS Library
+include $(CHIBIOS)/os/lib/lib.mk
|