Skip to content

Commit b017ae1

Browse files
committed
bootlinux: cli: fix tree and ref conditions
Current conditions do not allow users to set the tree reference without specifying a tree. Allow users to just set the tree reference. Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
1 parent 3109a5e commit b017ae1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workflows/linux/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ endif # BOOTLINUX_9P
113113

114114
choice
115115
prompt "Type of development version of Linux to use"
116-
default BOOTLINUX_LINUS if !BOOTLINUX_TREE_SET_BY_CLI
117-
default BOOTLINUX_CUSTOM if BOOTLINUX_TREE_SET_BY_CLI
116+
default BOOTLINUX_LINUS if !BOOTLINUX_TREE_SET_BY_CLI && !BOOTLINUX_TREE_REF_SET_BY_CLI
117+
default BOOTLINUX_CUSTOM if BOOTLINUX_TREE_SET_BY_CLI || BOOTLINUX_TREE_REF_SET_BY_CLI
118118

119119
config BOOTLINUX_LINUS
120120
bool "Linux releases based on Linus' tree"

0 commit comments

Comments
 (0)