Reset tags for UNOFFICIAL builds
Don't force a buildtype unless one is actually set. Anything without a type is UNOFFICIAL Change-Id: I38742485e580e21c51ee5e3f10467e7afbf247d9
This commit is contained in:
parent
2128e2f956
commit
d8e7666540
1 changed files with 10 additions and 9 deletions
|
@ -131,16 +131,17 @@ ifdef CM_RELEASE
|
||||||
CM_BUILDTYPE := RELEASE
|
CM_BUILDTYPE := RELEASE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CM_EXTRAVERSION
|
ifdef CM_BUILDTYPE
|
||||||
# Force build type to EXPERIMENTAL
|
ifdef CM_EXTRAVERSION
|
||||||
CM_BUILDTYPE := EXPERIMENTAL
|
# Force build type to EXPERIMENTAL
|
||||||
# Add leading dash to CM_EXTRAVERSION
|
CM_BUILDTYPE := EXPERIMENTAL
|
||||||
CM_EXTRAVERSION := -$(CM_EXTRAVERSION)
|
# Add leading dash to CM_EXTRAVERSION
|
||||||
endif
|
CM_EXTRAVERSION := -$(CM_EXTRAVERSION)
|
||||||
|
endif
|
||||||
# If CM_BUILDTYPE is not defined, set to UNOFFICIAL
|
else
|
||||||
ifndef CM_BUILDTYPE
|
# If CM_BUILDTYPE is not defined, set to UNOFFICIAL
|
||||||
CM_BUILDTYPE := UNOFFICIAL
|
CM_BUILDTYPE := UNOFFICIAL
|
||||||
|
CM_EXTRAVERSION :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CM_RELEASE
|
ifdef CM_RELEASE
|
||||||
|
|
Loading…
Reference in a new issue