From f8bd40999cbfdda8b625e7720aa4a49d0e66c51a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:29:31 +0200 Subject: POSIX: Fix timer_s / uptime config in makefile --- src/arch/posix/Makefile.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc index 22ddba9..adbea7a 100644 --- a/src/arch/posix/Makefile.inc +++ b/src/arch/posix/Makefile.inc @@ -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} -- cgit v1.2.3