diff --git a/Makefile.dep b/Makefile.dep index 2f668d4c60..ed6742868f 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -48,7 +48,6 @@ ifneq (,$(filter sixlowpan,$(USEMODULE))) endif ifneq (,$(filter uart0,$(USEMODULE))) - USEMODULE += lib USEMODULE += posix endif @@ -102,10 +101,6 @@ ifneq (,$(filter rgbled,$(USEMODULE))) USEMODULE += color endif -ifneq (,$(filter pipe,$(USEMODULE))) - USEMODULE += lib -endif - ifneq (,$(filter libfixmath-unittests,$(USEMODULE))) USEPKG += libfixmath endif diff --git a/sys/include/ringbuffer.h b/core/include/ringbuffer.h similarity index 99% rename from sys/include/ringbuffer.h rename to core/include/ringbuffer.h index 13856358b2..ad504644b3 100644 --- a/sys/include/ringbuffer.h +++ b/core/include/ringbuffer.h @@ -8,7 +8,7 @@ * General Public License v2.1. See the file LICENSE in the top level * directory for more details. * - * @ingroup sys_lib + * @ingroup core_util * @{ * @file ringbuffer.h * @author Kaspar Schleiser diff --git a/sys/lib/ringbuffer.c b/core/ringbuffer.c similarity index 99% rename from sys/lib/ringbuffer.c rename to core/ringbuffer.c index a06e7448af..73c7822685 100644 --- a/sys/lib/ringbuffer.c +++ b/core/ringbuffer.c @@ -8,7 +8,7 @@ * General Public License v2.1. See the file LICENSE in the top level * directory for more details. * - * @ingroup sys_lib + * @ingroup core_util * @{ * @file ringbuffer.c * @author Kaspar Schleiser diff --git a/cpu/atmega2560/Makefile.include b/cpu/atmega2560/Makefile.include index 13c5aa49e4..56dd682965 100644 --- a/cpu/atmega2560/Makefile.include +++ b/cpu/atmega2560/Makefile.include @@ -21,8 +21,5 @@ export UNDEF += $(BINDIR)cpu/startup.o # export the peripheral drivers to be linked into the final binary export USEMODULE += periph -# the uart implementation uses ringbuffer and therefore needs lib -export USEMODULE += lib - # CPU depends on the atmega common module, so include it include $(ATMEGA_COMMON)Makefile.include diff --git a/cpu/cc2538/Makefile.include b/cpu/cc2538/Makefile.include index d81b20fe8e..fcc43f26ab 100644 --- a/cpu/cc2538/Makefile.include +++ b/cpu/cc2538/Makefile.include @@ -25,9 +25,6 @@ export UNDEF += $(BINDIR)cpu/startup.o # Export the peripheral drivers to be linked into the final binary: export USEMODULE += periph -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # CPU depends on the cortex-m common module, so include it: include $(CORTEX_COMMON)Makefile.include diff --git a/cpu/nrf51822/Makefile.include b/cpu/nrf51822/Makefile.include index c84d220790..bd4ec9ef02 100644 --- a/cpu/nrf51822/Makefile.include +++ b/cpu/nrf51822/Makefile.include @@ -26,8 +26,5 @@ export UNDEF += $(BINDIR)cpu/startup.o # export the peripheral drivers to be linked into the final binary export USEMODULE += periph -# the syscalls implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # CPU depends on the cortex-m common module, so include it include $(CORTEX_COMMON)Makefile.include diff --git a/cpu/sam3x8e/Makefile.include b/cpu/sam3x8e/Makefile.include index c2467ca40a..0cc0ad3a49 100644 --- a/cpu/sam3x8e/Makefile.include +++ b/cpu/sam3x8e/Makefile.include @@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1 # export the peripheral drivers to be linked into the final binary export USEMODULE += periph -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # tell the build system that the CPU depends on the Cortex-M common files export USEMODULE += cortex-m3_common diff --git a/cpu/samd21/Makefile.include b/cpu/samd21/Makefile.include index 145b0814d8..78ef97db95 100644 --- a/cpu/samd21/Makefile.include +++ b/cpu/samd21/Makefile.include @@ -10,9 +10,6 @@ export USEMODULE += cortex-m0_common # define path to cortex-m common module, which is needed for this CPU export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/ -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # define the linker script to use for this CPU export LINKERSCRIPT ?= $(RIOTCPU)/$(CPU)/samd21_linkerscript.ld diff --git a/cpu/stm32f0/Makefile.include b/cpu/stm32f0/Makefile.include index 034683b4dc..4ba7527a36 100644 --- a/cpu/stm32f0/Makefile.include +++ b/cpu/stm32f0/Makefile.include @@ -7,9 +7,6 @@ export USEMODULE += cortex-m0_common # define path to cortex-m common module, which is needed for this CPU export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/ -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # define the linker script to use for this CPU. The CPU_MODEL variable is defined in the # board's Makefile.include. This enables multiple STMF0 controllers with different memory to # use the same code-base. diff --git a/cpu/stm32f1/Makefile.include b/cpu/stm32f1/Makefile.include index 6d47467833..1dc8d90314 100644 --- a/cpu/stm32f1/Makefile.include +++ b/cpu/stm32f1/Makefile.include @@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1 # tell the build system that the CPU depends on the Cortex-M common files export USEMODULE += cortex-m3_common -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # define path to cortex-m common module, which is needed for this CPU export CORTEXM_COMMON = $(RIOTCPU)/cortex-m3_common/ diff --git a/cpu/stm32f3/Makefile.include b/cpu/stm32f3/Makefile.include index 2cb21eea97..5b33b701db 100644 --- a/cpu/stm32f3/Makefile.include +++ b/cpu/stm32f3/Makefile.include @@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1 # export the peripheral drivers to be linked into the final binary export USEMODULE += periph -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # tell the build system that the CPU depends on the Cortex-M common files export USEMODULE += cortex-m4_common diff --git a/cpu/stm32f4/Makefile.include b/cpu/stm32f4/Makefile.include index 2cb21eea97..5b33b701db 100644 --- a/cpu/stm32f4/Makefile.include +++ b/cpu/stm32f4/Makefile.include @@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1 # export the peripheral drivers to be linked into the final binary export USEMODULE += periph -# this CPU implementation makes use of the ringbuffer, so include the lib module -export USEMODULE += lib - # tell the build system that the CPU depends on the Cortex-M common files export USEMODULE += cortex-m4_common diff --git a/tests/periph_uart_int/Makefile b/tests/periph_uart_int/Makefile index ad256bfdb7..0edfdc39bd 100644 --- a/tests/periph_uart_int/Makefile +++ b/tests/periph_uart_int/Makefile @@ -5,7 +5,6 @@ BOARD_BLACKLIST := chronos mbed_lpc1768 msb-430 msb-430h native qemu-i386 redbee wsn430-v1_3b wsn430-v1_4 z1 # all listed boards: no periph_conf.h defined, -USEMODULE += lib USEMODULE += vtimer include $(RIOTBASE)/Makefile.include diff --git a/tests/unittests/tests-lib/Makefile.include b/tests/unittests/tests-lib/Makefile.include index 6ba533d1b3..e69de29bb2 100644 --- a/tests/unittests/tests-lib/Makefile.include +++ b/tests/unittests/tests-lib/Makefile.include @@ -1 +0,0 @@ -USEMODULE += lib