diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-08 00:27:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-08 00:27:35 +0000 |
commit | 8f66f424602e26f0a43a62beaa3c2aec7775c890 (patch) | |
tree | 28249f121ebc9fd071e24222304b4c0770b6fd86 /nuttx/Makefile | |
parent | ddd126cb2969bec42a4430b7d8fcdd45de4a42c1 (diff) | |
download | px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.gz px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.bz2 px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.zip |
Add support for platoform specific ROMFS startup files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3350 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r-- | nuttx/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile index 7b71b7298..00a7c60b1 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 ; \ |