All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] define dynamic localversion
@ 2018-11-05 16:49 Frank Wunderlich
  0 siblings, 0 replies; only message in thread
From: Frank Wunderlich @ 2018-11-05 16:49 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-05 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 16:49 [U-Boot] define dynamic localversion Frank Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.