From ccc6f821607b2d576cc76354e6e7c3afbb1c73d9 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Sun, 1 Mar 2015 20:31:38 +0100 Subject: [PATCH] [conf] add udp_socket for nps target --- conf/firmwares/subsystems/shared/udp.makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/firmwares/subsystems/shared/udp.makefile b/conf/firmwares/subsystems/shared/udp.makefile index 1767d02a3d..f8980d7431 100644 --- a/conf/firmwares/subsystems/shared/udp.makefile +++ b/conf/firmwares/subsystems/shared/udp.makefile @@ -9,6 +9,10 @@ UDP_SRCS = mcu_periph/udp.c $(SRC_ARCH)/mcu_periph/udp_arch.c ifeq ($(ARCH), linux) UDP_SRCS += $(SRC_ARCH)/udp_socket.c endif +ifeq ($(TARGET), nps) +UDP_CFLAGS += -Iarch/linux +UDP_SRCS += arch/linux/udp_socket.c +endif $(TARGET).CFLAGS += $(UDP_CFLAGS) $(TARGET).srcs += $(UDP_SRCS)