summaryrefslogtreecommitdiffstats
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-08 00:27:35 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-08 00:27:35 +0000
commitfd0d80de07f5a3267ca2f9a33105de7400bd9b48 (patch)
tree28249f121ebc9fd071e24222304b4c0770b6fd86 /nuttx/Makefile
parent89406239aa3790cc6a4f8afa64dbae3cfa2228ad (diff)
Add support for platoform specific ROMFS startup files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3350 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 7b71b7298a..00a7c60b16 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -1,7 +1,7 @@
############################################################################
# Makefile
#
-# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -309,6 +309,13 @@ ifeq ($(CONFIG_RAW_BINARY),y)
@$(OBJCOPY) $(OBJCOPYARGS) -O binary $(NUTTX)$(EXEEXT) $(NUTTX)$(EXEEXT).bin
endif
+# This is a helper target that will rebuild NuttX and download it to the
+# target system in one step. It will generate an error an error if the
+# DOWNLOAD command is not defined in platform Make.defs file.
+
+download: $(BIN)
+ $(call DOWNLOAD, $@)
+
depend:
@for dir in $(MAKEDIRS) ; do \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" depend ; \