×

Notice

The forum is in read only mode.

Renaming custom builds

More
30 Oct 2019 14:33 #75347 by joeclone
Renaming custom builds was created by joeclone
Sorry if this been asked before, tried search but didn't get any results. How do I rename a custom build? All the builds I've tried come out as v5.0.0-9502535. Dunno if this is a random number but I'd like to rename it so I can know whats what in the devo screen after it's flashed.
More
31 Oct 2019 08:21 - 31 Oct 2019 08:28 #75351 by vlad_vy
Replied by vlad_vy on topic Renaming custom builds
Edit Makefile HGVERSION :=...

I use for my local builds:
HGVERSION := $(TARGET)"-v5.0.0-"$(shell date +%Y-%m-%d)
or
HGVERSION := $(TARGET)"-v5.x.x-"$(shell date +%Y-%m-%d)
Last edit: 31 Oct 2019 08:28 by vlad_vy.
More
31 Oct 2019 11:04 #75352 by joeclone
Replied by joeclone on topic Renaming custom builds
Vlad, thanks for the info will try it out.
More
31 Oct 2019 15:26 #75353 by joeclone
Replied by joeclone on topic Renaming custom builds
just to confirm is it this line in src/Makefile?
HGVERSION ?= $(shell ../utils/get_version.pl ${TARGET})
HGVERSION := $(HGVERSION)
I need to change to i.e.
HGVERSION := $(devo10)"-v5.0.0-"$(shell date +%2019-%10-%31)
More
31 Oct 2019 16:19 - 31 Oct 2019 16:28 #75354 by vlad_vy
Replied by vlad_vy on topic Renaming custom builds
You don't need "devo10", variable $(TARGET) will be replaced by selected target, in your case devo10.

HGVERSION ?= $(TARGET)"-v5.0.0-"$(shell date +%Y-%m-%d)
HGVERSION := $(HGVERSION)

With current nightly builds probably will work setting the build name from command line (without changing makefile):
make TARGET=devo10 HGVERSION=devo10-v5.0.0-(any you want to add)
Last edit: 31 Oct 2019 16:28 by vlad_vy.
Time to create page: 0.028 seconds
Powered by Kunena Forum