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
This commit is contained in:
patacongo
2011-04-08 15:24:50 +00:00
parent da1aabcd1c
commit 86ffab1b95
11 changed files with 300 additions and 54 deletions

View File

@@ -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)