Skip to content
Snippets Groups Projects
Commit f8bd4099 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

POSIX: Fix timer_s / uptime config in makefile

parent 8c0223fc
No related branches found
No related tags found
No related merge requests found
......@@ -20,16 +20,16 @@ ifneq ($(findstring counter,${arch_drivers}), )
endif
ifeq (${timer_s}, 1)
CONFIG_arch_arduino_nano_driver_uptime = y
CONFIG_arch_posix_driver_uptime = y
endif
ifdef CONFIG_arch_posix_driver_counter
CXX_TARGETS += src/arch/posix/driver/counter.cc
endif
ifdef CONFIG_arch_arduino_nano_driver_uptime
ifdef CONFIG_arch_posix_driver_uptime
COMMON_FLAGS += -DTIMER_S
CXX_TARGETS += src/arch/arduino-nano/driver/uptime.cc
CXX_TARGETS += src/arch/posix/driver/uptime.cc
endif
OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment