summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-04 13:31:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-04 13:31:34 -0600
commit23d6f51d4032133ed41ae5ccff887242d21a7609 (patch)
tree25fe79622978f206de14fa9559399c3925e64581 /nuttx/tools
parentb4ddd5c4d15cdb22e036721ff513e93c01b6f619 (diff)
downloadnuttx-23d6f51d4032133ed41ae5ccff887242d21a7609.tar.gz
nuttx-23d6f51d4032133ed41ae5ccff887242d21a7609.tar.bz2
nuttx-23d6f51d4032133ed41ae5ccff887242d21a7609.zip
The 'make export' target needs to bundle up the user C startup file (crt0), not the kernel head object
Diffstat (limited to 'nuttx/tools')
-rwxr-xr-xnuttx/tools/mkexport.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/tools/mkexport.sh b/nuttx/tools/mkexport.sh
index cbdcddc78..6b16e4b07 100755
--- a/nuttx/tools/mkexport.sh
+++ b/nuttx/tools/mkexport.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# tools/mkexport.sh
#
-# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012, 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -194,7 +194,7 @@ cp -LR -p "${TOPDIR}/include" "${EXPORTDIR}/." || \
# Copy the startup object file(s)
-make -C ${ARCHDIR} export_head TOPDIR=${TOPDIR} EXPORT_DIR="${EXPORTDIR}"
+make -C ${ARCHDIR} export_startup TOPDIR=${TOPDIR} EXPORT_DIR="${EXPORTDIR}"
# Copy architecture-specific header files into the arch export sub-directory.
# This is tricky because each architecture does things in a little different