aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/device/module.mk')
-rw-r--r--src/drivers/device/module.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/device/module.mk b/src/drivers/device/module.mk
index 216fae1ab..522639dc1 100644
--- a/src/drivers/device/module.mk
+++ b/src/drivers/device/module.mk
@@ -35,15 +35,15 @@
# Build the device driver framework.
#
-#ifeq ($(PX4_TARGET_OS),nuttx)
+ifeq ($(PX4_TARGET_OS),nuttx)
SRCS = \
device.cpp \
cdev.cpp \
i2c.cpp \
pio.cpp \
spi.cpp
-#endif
-#ifeq ($(PX4_TARGET_OS),linux)
+endif
+ifeq ($(PX4_TARGET_OS),linux)
SRCS = vcdev.cpp \
vdevice.cpp
-#endif
+endif