mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 06:54:49 +08:00
[conf] add udp_socket for nps target
This commit is contained in:
@@ -9,6 +9,10 @@ UDP_SRCS = mcu_periph/udp.c $(SRC_ARCH)/mcu_periph/udp_arch.c
|
|||||||
ifeq ($(ARCH), linux)
|
ifeq ($(ARCH), linux)
|
||||||
UDP_SRCS += $(SRC_ARCH)/udp_socket.c
|
UDP_SRCS += $(SRC_ARCH)/udp_socket.c
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(TARGET), nps)
|
||||||
|
UDP_CFLAGS += -Iarch/linux
|
||||||
|
UDP_SRCS += arch/linux/udp_socket.c
|
||||||
|
endif
|
||||||
|
|
||||||
$(TARGET).CFLAGS += $(UDP_CFLAGS)
|
$(TARGET).CFLAGS += $(UDP_CFLAGS)
|
||||||
$(TARGET).srcs += $(UDP_SRCS)
|
$(TARGET).srcs += $(UDP_SRCS)
|
||||||
|
|||||||
Reference in New Issue
Block a user