Force directory name to be nuttx-xx.yy.zz

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@284 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-06-10 02:24:53 +00:00
parent d583be7062
commit 729fad8b7d
4 changed files with 23 additions and 7 deletions

View file

@ -180,5 +180,6 @@
0.2.8 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> 0.2.8 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* tools/Makefile.mkconfig: Under Cygwin, executable has a different name * tools/Makefile.mkconfig: Under Cygwin, executable has a different name
* tools/mkdeps.sh & arch/arm/src/Makefile: Corrected a problem makeing dependencies * tools/mkdeps.sh & arch/arm/src/Makefile: Corrected a problem makeing dependencies
* tools/zipme.sh: Force directory name to be nuttx-xx.yy.zz
* Started m68322 * Started m68322

View file

@ -615,6 +615,7 @@ Other memory:
* tools/Makefile.mkconfig: Under Cygwin, executable has a different name * tools/Makefile.mkconfig: Under Cygwin, executable has a different name
* tools/mkdeps.sh & arch/arm/src/Makefile: Corrected a problem makeing dependencies * tools/mkdeps.sh & arch/arm/src/Makefile: Corrected a problem makeing dependencies
* tools/zipme.sh: Force directory name to be nuttx-xx.yy.zz
* Started m68322 * Started m68322
</pre></ul> </pre></ul>

6
TODO
View file

@ -23,7 +23,7 @@ o Signals
- 'Standard' signals and signal actions are not supported. - 'Standard' signals and signal actions are not supported.
o pthreads o pthreads
- pthread_cancel(): Should implemenent cancellation points and pthread_testcancel() - pthread_cancel(): Should implement cancellation points and pthread_testcancel()
o C++ Support o C++ Support
- Need to call static constructors - Need to call static constructors
@ -33,12 +33,13 @@ o Network
o USB o USB
- Implement USB device support - Implement USB device support
- Implement USB bulk device
o Libraries o Libraries
- sscanf() and lib_vsprintf() do not support floating point values. - sscanf() and lib_vsprintf() do not support floating point values.
o File system o File system
- Add statfs(), chmod(), truncate(). - Add chmod(), truncate().
- FAT32: long file names - FAT32: long file names
o Console Output o Console Output
@ -79,3 +80,4 @@ o pjrc-8052 / MCS51
clock_initialize.c at line 107 clock_initialize.c at line 107
pthread_create.c at 330 pthread_create.c at 330
sighand.c at 225 and 244 sighand.c at 225 and 244

View file

@ -35,7 +35,7 @@
#set -x #set -x
WD=`pwd` WD=`pwd`
DATECODE=$1 VERSION=$1
TAR="tar cvf" TAR="tar cvf"
ZIP=gzip ZIP=gzip
@ -55,11 +55,14 @@ GARBAGEDIRS="\
# Make sure we know what is going on # Make sure we know what is going on
if [ -z ${DATECODE} ] ; then if [ -z ${VERSION} ] ; then
echo "You must supply a version like xx.yy.zz as a parameter" echo "You must supply a version like xx.yy.zz as a parameter"
exit 1; exit 1;
fi fi
# Find the directory we were executed from and were we expect to
# see the directory to tar up
MYNAME=`basename $0` MYNAME=`basename $0`
if [ -x ${WD}/${MYNAME} ] ; then if [ -x ${WD}/${MYNAME} ] ; then
@ -68,23 +71,32 @@ else
if [ -x ${WD}/tools/${MYNAME} ] ; then if [ -x ${WD}/tools/${MYNAME} ] ; then
NUTTX=${WD} NUTTX=${WD}
else else
echo "You must cd NUTTX directory to execute this script." echo "You must cd into the NUTTX directory to execute this script."
exit 1 exit 1
fi fi
fi fi
# Get the NuttX directory name and the path to the parent directory
NUTTXDIR=`basename ${NUTTX}` NUTTXDIR=`basename ${NUTTX}`
PROJECTS=`dirname ${NUTTX}` PROJECTS=`dirname ${NUTTX}`
# The name of the directory must match the version number
if [ "X$NUTTXDIR" != "Xnuttx-${VERSION}" ]; then
echo "Expected directory name to be nuttx-${VERSION} found ${NUTTXDIR}"
exit 1
fi
cd ${PROJECTS} || \ cd ${PROJECTS} || \
{ echo "Failed to cd to ${PROJECTS}" ; exit 1 ; } { echo "Failed to cd to ${PROJECTS}" ; exit 1 ; }
if [ ! -d ${NUTTXDIR} ] ; then if [ ! -d ${NUTTXDIR} ] ; then
echo "${PROJECTS}/${NUTTXDIR} does not exist!" echo "${PROJECTS}/${NUTTXDIR} does not exist!"
exit 1; exit 1
fi fi
TAR_NAME=nuttx-${DATECODE}.tar TAR_NAME=nuttx-${VERSION}.tar
ZIP_NAME=${TAR_NAME}.gz ZIP_NAME=${TAR_NAME}.gz
# Prepare the nuttx directory -- Remove editor garbage # Prepare the nuttx directory -- Remove editor garbage