summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 19:30:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 19:30:39 +0000
commitf6f8f750c7a25d123dc6f20902b38bcda1c95963 (patch)
tree8bc941e79fba3ba910bab14fc05227bdd88d3239 /nuttx/tools
parenteafaeb9398216dacb92de69683ccdda6007efb1d (diff)
downloadpx4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.tar.gz
px4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.tar.bz2
px4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.zip
More build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3406 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-rwxr-xr-xnuttx/tools/zipme.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/tools/zipme.sh b/nuttx/tools/zipme.sh
index c92f6b64e..7c08bd271 100755
--- a/nuttx/tools/zipme.sh
+++ b/nuttx/tools/zipme.sh
@@ -132,6 +132,10 @@ if [ -f ${ZIP_NAME} ] ; then
{ echo "rm ${ZIP_NAME} failed!" ; exit 1 ; }
fi
+# Write a version file
+
+echo "CONFIG_NUTTX_VERSION=\"${VERSION}\" >${NUTTX}/.version
+
# Then zip it
${TAR} ${TAR_NAME} nuttx-${VERSION}/nuttx nuttx-${VERSION}/apps || \