summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-08 15:24:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-08 15:24:50 +0000
commit6e1fea8b98a48200b12a6e4d304f33d18ba70e89 (patch)
tree75a7200559a8bbe40cee62173ea6a2bc58f4ac48 /nuttx/Makefile
parentfde641dedf8a3922658e92a19ca8eb7698db3ac0 (diff)
downloadnuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.tar.gz
nuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.tar.bz2
nuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.zip
Add logic to initialize SAM3U user applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3482 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index f9cb1b782..b203ebde3 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -105,6 +105,9 @@ endif
# configuration specific files or creation of configurable symbolic links
# USERDIRS - When NuttX is build is a monolithic kernel, this provides the
# list of directories that must be built
+# OTHERDIRS - These are directories that are not built but probably should
+# be cleaned to prevent garbarge from collecting in them when changing
+# configurations.
NONFSDIRS = sched $(ARCH_SRC) $(NUTTX_ADDONS)
FSDIRS = fs drivers binfmt
@@ -118,11 +121,14 @@ CONTEXTDIRS += syscall
USERDIRS += syscall lib mm $(USER_ADDONS)
else
NONFSDIRS += lib mm
+OTHERDIRS += syscall $(USER_ADDONS)
endif
ifeq ($(CONFIG_NX),y)
NONFSDIRS += graphics
CONTEXTDIRS += graphics
+else
+OTHERDIRS += graphics
endif
# CLEANDIRS are the directories that will clean in. These are
@@ -133,7 +139,7 @@ endif
# USERDEPDIRS. If NuttX and applications are built separately (CONFIG_NUTTX_KERNEL),
# then this holds only the directories containing user files.
-CLEANDIRS = $(NONFSDIRS) $(FSDIRS) $(USERDIRS)
+CLEANDIRS = $(NONFSDIRS) $(FSDIRS) $(USERDIRS) $(OTHERDIRS)
KERNDEPDIRS = $(NONFSDIRS)
USERDEPDIRS = $(USERDIRS)