diff options
Diffstat (limited to 'meta/classes-recipe/uboot-config.bbclass')
-rw-r--r-- | meta/classes-recipe/uboot-config.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass index fb7a4bc498..9be1d64d3e 100644 --- a/meta/classes-recipe/uboot-config.bbclass +++ b/meta/classes-recipe/uboot-config.bbclass | |||
@@ -140,4 +140,10 @@ python () { | |||
140 | 140 | ||
141 | if not found: | 141 | if not found: |
142 | raise bb.parse.SkipRecipe("The selected UBOOT_CONFIG key %s has no match in %s." % (ubootconfig, ubootconfigflags.keys())) | 142 | raise bb.parse.SkipRecipe("The selected UBOOT_CONFIG key %s has no match in %s." % (ubootconfig, ubootconfigflags.keys())) |
143 | |||
144 | if len(ubootconfig) == 1: | ||
145 | d.setVar('KCONFIG_CONFIG_ROOTDIR', os.path.join(d.getVar("B"), d.getVar("UBOOT_MACHINE").strip())) | ||
146 | else: | ||
147 | # Disable menuconfig for multiple configs | ||
148 | d.setVar('KCONFIG_CONFIG_ENABLE_MENUCONFIG', "false") | ||
143 | } | 149 | } |