Skip to content
Snippets Groups Projects
Commit 118d04ff authored by Wojciech Zmuda's avatar Wojciech Zmuda Committed by Andrei Gherzan
Browse files

flavours: use weak (?=) assignment for DISTRO


Strong (=) assignment makes it impossible to override DISTRO
in command line when calling bitbake e.g.:

  $ DISTRO=myCoolOS bitbake myCoolImage

With strong assignment, the local.conf DISTRO setting has
precendence over command line setting. Using weak assignment
allows user to build other DISTRO without editing local.conf.

Signed-off-by: default avatarWojciech Zmuda <wojciech.zmuda@huawei.com>
parent 83f3771e
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ MACHINE ??= "qemuarmv5"
#
# Default policy config
#
DISTRO = "freertos"
DISTRO ?= "freertos"
#
# Package Management configuration
......
......@@ -74,7 +74,7 @@ MACHINE ??= "qemux86-64"
#
# Default policy config
#
DISTRO = "openharmony-linux"
DISTRO ?= "openharmony-linux"
#
# Package Management configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment