Dear all,
@David, thank you for your explanation.
I started research on the implementation of uname. From there I came across
the nuttx/version.sh
Within I find:
> # Get GIT information (if not provided on the command line)
> if [ -z "${BUILD}" ]; then
> BUILD=`git -C ${WD} log --oneline -1 | cut -d' ' -f1 2>/dev/null`
> if [ -z "${BUILD}" ]; then
> echo "GIT version information is not available"
> exit 5
> fi
> if [ -n "`git -C ${WD} diff-index --name-only HEAD | head -1`" ]; then
> BUILD=${BUILD}-dirty
> fi
> fi
Am I right with my assumption that it is possible to feed additional custom
GIT / SVN / 'What else' information into the build via command line? That
would suffice the needed flexibility, wouldn't it?
Regards,
Simon
On Sun, Sep 26, 2021 at 8:45 PM Gregory Nutt <[email protected]> wrote:
>
> > I wonder what is the purpose of this question.
> The problem with these polls is that everyone sees right through them..
> at least at some level. They are all really the question , "Who can we
> f*ck over."
>