summaryrefslogtreecommitdiff
path: root/apps/examples/udp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/udp/Makefile')
-rw-r--r--apps/examples/udp/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 337d323e8..17438321c 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -42,7 +42,7 @@ include $(APPDIR)/Make.defs
TARG_ASRCS =
TARG_CSRCS = target.c
-ifeq ($(CONFIG_EXAMPLE_UDP_SERVER),y)
+ifeq ($(CONFIG_EXAMPLES_UDP_SERVER),y)
TARG_CSRCS += udp-server.c
else
TARG_CSRCS += udp-client.c
@@ -60,14 +60,14 @@ else
TARG_BIN = "$(APPDIR)/libapps$(LIBEXT)"
endif
-HOSTCFLAGS += -DCONFIG_EXAMPLE_UDP_HOST=1
-ifeq ($(CONFIG_EXAMPLE_UDP_SERVER),y)
-HOSTCFLAGS += -DCONFIG_EXAMPLE_UDP_SERVER=1 \
- -DCONFIG_EXAMPLE_UDP_SERVERIP="$(CONFIG_EXAMPLE_UDP_SERVERIP)"
+HOSTCFLAGS += -DCONFIG_EXAMPLES_UDP_HOST=1
+ifeq ($(CONFIG_EXAMPLES_UDP_SERVER),y)
+HOSTCFLAGS += -DCONFIG_EXAMPLES_UDP_SERVER=1 \
+ -DCONFIG_EXAMPLES_UDP_SERVERIP="$(CONFIG_EXAMPLES_UDP_SERVERIP)"
endif
HOST_SRCS = host.c
-ifeq ($(CONFIG_EXAMPLE_UDP_SERVER),y)
+ifeq ($(CONFIG_EXAMPLES_UDP_SERVER),y)
HOST_SRCS += udp-client.c
else
HOST_SRCS += udp-server.c