Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions examples/dhcpd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,28 @@ if(CONFIG_EXAMPLES_DHCPD)
NAME
dhcpd
SRCS
host.c
target.c
dhcpd_daemon.c
STACKSIZE
2048)
${CONFIG_DEFAULT_TASK_STACKSIZE})

nuttx_add_application(
NAME
dhcpd_start
SRCS
dhcpd_start.c
dhcpd_daemon.c
STACKSIZE
${CONFIG_DEFAULT_TASK_STACKSIZE})

nuttx_add_application(
NAME
dhcpd_stop
SRCS
dhcpd_stop.c
dhcpd_daemon.c
STACKSIZE
${CONFIG_DEFAULT_TASK_STACKSIZE})

add_definitions(-DCONFIG_NETUTILS_DHCPD_HOST=1 -DHAVE_SO_REUSEADDR=1
-DHAVE_SO_BROADCAST=1)
Expand Down
Loading