summaryrefslogtreecommitdiff
path: root/apps/examples/dhcpd/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-13 17:25:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-13 17:25:23 +0000
commitf65c5cf1f7ca0ea9fb5a284da2b126aa6dcbae98 (patch)
tree3a0ef6dd84a82f722a6d042569629be6a9956d2d /apps/examples/dhcpd/Makefile
parent8c2168cef52239100d8822d2d8eca412689c8ed3 (diff)
downloadnuttx-f65c5cf1f7ca0ea9fb5a284da2b126aa6dcbae98.tar.gz
nuttx-f65c5cf1f7ca0ea9fb5a284da2b126aa6dcbae98.tar.bz2
nuttx-f65c5cf1f7ca0ea9fb5a284da2b126aa6dcbae98.zip
STM32 Ethernet bugfixes; STM3240G-EVAL DHCPD configuration; fixes for IP address order bugs in DHCPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4168 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/dhcpd/Makefile')
-rw-r--r--apps/examples/dhcpd/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile
index 219cfb865..3254a9806 100644
--- a/apps/examples/dhcpd/Makefile
+++ b/apps/examples/dhcpd/Makefile
@@ -2,7 +2,7 @@
# apps/examples/dhcpd/Makefile
#
# Copyright (C) 2009-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
@@ -56,6 +56,12 @@ endif
ROOTDEPPATH = --dep-path .
+# DHCPD built-in application info
+
+APPNAME = dhcpd
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 2048
+
# Common build
VPATH =
@@ -75,7 +81,13 @@ $(COBJS): %$(OBJEXT): %.c
done ; )
@touch .built
-context:
+.context:
+ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
+ $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+ @touch $@
+endif
+
+context: .context
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep