1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # top_srcdir=${1:-`pwd`} u=${USER-the_zephyr_builder} h=`hostname` t=`date` v=`sh ${top_srcdir}/get_vers.sh ${top_srcdir}` umask 002 /bin/echo "#define ZEPHYR_VERSION_STRING \"${v} (${t}) ${u}@${h}\"" > h/zephyr_version.h