diff options
Diffstat (limited to 'nuttx/libc/net/Make.defs')
-rw-r--r-- | nuttx/libc/net/Make.defs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/libc/net/Make.defs b/nuttx/libc/net/Make.defs index 9d4e5c06b..7cf402b96 100644 --- a/nuttx/libc/net/Make.defs +++ b/nuttx/libc/net/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # libc/net/Make.defs # -# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -38,6 +38,12 @@ CSRCS += lib_etherntoa.c lib_htons.c lib_htonl.c lib_inetaddr.c CSRCS += lib_inetntoa.c lib_inetntop.c lib_inetpton.c +# Routing table support + +ifeq ($(CONFIG_NET_ROUTE),y) +CSRCS += lib_addroute.c lib_delroute.c +endif + # Add the net directory to the build DEPPATH += --dep-path net |