summaryrefslogtreecommitdiff
path: root/apps/examples/nettest/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-13 17:56:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-13 17:56:14 +0000
commitff4f68ec939e07de62e745dcce3536f19c7690f4 (patch)
tree4493f80537a7fb4573a9403bdcfc6107ff64bee0 /apps/examples/nettest/Makefile
parentf65c5cf1f7ca0ea9fb5a284da2b126aa6dcbae98 (diff)
downloadnuttx-ff4f68ec939e07de62e745dcce3536f19c7690f4.tar.gz
nuttx-ff4f68ec939e07de62e745dcce3536f19c7690f4.tar.bz2
nuttx-ff4f68ec939e07de62e745dcce3536f19c7690f4.zip
Add a network test configuration for the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4169 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nettest/Makefile')
-rw-r--r--apps/examples/nettest/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile
index e9489a6be..7ae5d4aff 100644
--- a/apps/examples/nettest/Makefile
+++ b/apps/examples/nettest/Makefile
@@ -2,7 +2,7 @@
# examples/nettest/Makefile
#
# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -78,6 +78,12 @@ HOST_BIN = host
ROOTDEPPATH = --dep-path .
+# NET test built-in application info
+
+APPNAME = nettest
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 2048
+
# Common build
VPATH =
@@ -107,7 +113,13 @@ $(HOST_BIN): $(HOST_OBJS)
.built: $(TARG_BIN) $(HOST_BIN)
@touch .built
-context:
+.context:
+ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
+ $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+ @touch $@
+endif
+
+context: .context
.depend: Makefile $(TARG_SRCS)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(TARG_SRCS) >Make.dep