Hi,

in linux-kernel i can set a dynamic localversion appended to uboot-version

looking in scripts/setlocalversion line 161 seems to look the same

res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"

so i tried this:

gitbranch=$(git rev-parse --abbrev-ref HEAD)
export LOCALVERSION="-${gitbranch}"
make;

should append my current git-branch to uboot's version...but i have only a + 
added (git repo dirty because i did not committed these changes yet)

i have defined

CONFIG_LOCALVERSION_AUTO=n

for testing to drop commit-id

any idea?

regards Frank
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to