aboutsummaryrefslogtreecommitdiffstats
path: root/os/lib/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'os/lib/lib.mk')
-rw-r--r--os/lib/lib.mk49
1 files changed, 0 insertions, 49 deletions
diff --git a/os/lib/lib.mk b/os/lib/lib.mk
deleted file mode 100644
index 7780318d2..000000000
--- a/os/lib/lib.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-# List of all the ChibiOS/LIB files, there is no need to remove the files
-# from this list, you can disable parts of the kernel by editing chlibconf.h.
-ifeq ($(USE_SMART_BUILD),yes)
-
-# Configuration files directory
-ifeq ($(CHCONFDIR),)
- ifeq ($(CONFDIR),)
- CHCONFDIR = .
- else
- CHCONFDIR := $(CONFDIR)
- endif
-endif
-
-CHLIBCONF := $(strip $(shell cat $(CHCONFDIR)/chconf.h | egrep -e "\#define"))
-
-LIBSRC :=
-ifneq ($(findstring CH_CFG_USE_MAILBOXES TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chmboxes.c
-endif
-ifneq ($(findstring CH_CFG_USE_MEMCORE TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chmemcore.c
-endif
-ifneq ($(findstring CH_CFG_USE_HEAP TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chmemheaps.c
-endif
-ifneq ($(findstring CH_CFG_USE_MEMPOOLS TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chmempools.c
-endif
-ifneq ($(findstring CH_CFG_USE_PIPES TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chpipes.c
-endif
-ifneq ($(findstring CH_CFG_USE_FACTORY TRUE,$(CHLIBCONF)),)
-LIBSRC += $(CHIBIOS)/os/lib/src/chfactory.c
-endif
-else
-LIBSRC := $(CHIBIOS)/os/lib/src/chmboxes.c \
- $(CHIBIOS)/os/lib/src/chmemcore.c \
- $(CHIBIOS)/os/lib/src/chmemheaps.c \
- $(CHIBIOS)/os/lib/src/chmempools.c \
- $(CHIBIOS)/os/lib/src/chpipes.c \
- $(CHIBIOS)/os/lib/src/chfactory.c
-endif
-
-# Required include directories
-LIBINC := $(CHIBIOS)/os/lib/include
-
-# Shared variables
-ALLCSRC += $(LIBSRC)
-ALLINC += $(LIBINC)