summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:29:31 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:29:31 +0200
commitf8bd40999cbfdda8b625e7720aa4a49d0e66c51a (patch)
tree290c05932a84233be47831b02a83cfb7acc822d7 /src/arch
parent8c0223fcff8c60e690e414a5334972090db97013 (diff)
POSIX: Fix timer_s / uptime config in makefile
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/posix/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
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}