summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-26 23:18:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-26 23:18:13 +0000
commit73c7e9963348ec8b964adf5e9df1876a9494b382 (patch)
tree7eb9b3b7b5c5c667c2a4922bb6ed5143cff353f5 /nuttx/Makefile
parent93f9271b27b33e322ffa45ec71c43884674458af (diff)
downloadpx4-nuttx-73c7e9963348ec8b964adf5e9df1876a9494b382.tar.gz
px4-nuttx-73c7e9963348ec8b964adf5e9df1876a9494b382.tar.bz2
px4-nuttx-73c7e9963348ec8b964adf5e9df1876a9494b382.zip
Adding uIP 1.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@310 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 2844bbf3b..5050b3086 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -51,6 +51,10 @@ BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE)
FSDIRS = fs drivers
+ifeq ($(CONFIG_NET_UIP),y)
+NONFSDIRS += net netutils
+endif
+
# CLEANDIRS are the directories that will clean in. These are
# all directories that we know about.
# MAKEDIRS are the directories in which we will build targets
@@ -75,6 +79,10 @@ ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT)
endif
+ifeq ($(CONFIG_NET_UIP),y)
+LINKLIBS += net/libnet$(LIBEXT) netutils/libnetutils$(LIBEXT)
+endif
+
# This is the name of the final target
BIN = nuttx$(EXEEXT)
@@ -184,6 +192,12 @@ $(ARCH_SRC)/libarch$(LIBEXT): context
mm/libmm$(LIBEXT): context
$(MAKE) -C mm TOPDIR=$(TOPDIR) libmm$(LIBEXT)
+net/libnet$(LIBEXT): context
+ $(MAKE) -C net TOPDIR=$(TOPDIR) libnet$(LIBEXT)
+
+netutils/libnetutils$(LIBEXT): context
+ $(MAKE) -C netutils TOPDIR=$(TOPDIR) libnetutils$(LIBEXT)
+
fs/libfs$(LIBEXT): context
$(MAKE) -C fs TOPDIR=$(TOPDIR) libfs$(LIBEXT)