diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-04 17:36:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-04 17:36:07 +0000 |
commit | d0c91546343d545c11c10f7d29d1c06175c1109a (patch) | |
tree | 64bb2a8bfc5fdae5e8a88464b3b89054f602259e /apps/examples/udp/Makefile | |
parent | f096e07fceb776545fa7b06501dc734ad0e81783 (diff) | |
download | nuttx-d0c91546343d545c11c10f7d29d1c06175c1109a.tar.gz nuttx-d0c91546343d545c11c10f7d29d1c06175c1109a.tar.bz2 nuttx-d0c91546343d545c11c10f7d29d1c06175c1109a.zip |
Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/udp/Makefile')
-rw-r--r-- | apps/examples/udp/Makefile | 12 |
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 |