#!/bin/sh MajorVer=0 MinorVer=1 RevNo=0 BuildNum=2 PRODUCT_VER_STRING=$MajorVer.$MinorVer.$RevNo.$BuildNum FILE_VER_STRING=Linux-$MajorVer.$MinorVer.$RevNo.$BuildNum FILE_VER_NUMBER="$MajorVer, $MinorVer, $RevNo, $BuildNum" outfile=src/udr_build_no.h cat > $outfile <<eof /* FILE GENERATED BY $(basename $0) ******* DO NOT EDIT ******* TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT $(basename $0) FORMAL BUILD NUMBER:$BuildNum */ #define PRODUCT_VER_STRING "${PRODUCT_VER_STRING}" #define FILE_VER_STRING "$FILE_VER_STRING" #define FILE_VER_NUMBER $FILE_VER_NUMBER eof