]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: modify: Handle recipes with a menuconfig task correctly
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 15 Dec 2023 12:12:06 +0000 (13:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Dec 2023 13:05:39 +0000 (13:05 +0000)
commite87e6fa84a0c4b5ac8e736dc62f6e08390ba2436
treeb01972565b3bf60afb212cd1875ac7d16a294839
parent4f3b4b4f27924f9093dc6b4dd949cabe5cd2891b
devtool: modify: Handle recipes with a menuconfig task correctly

This avoids the following error when running `devtool modify` on a
recipe that has a menuconfig task, but does not have
KCONFIG_CONFIG_ENABLE_MENUCONFIG set.

  .../temp/run.do_configure.4163366: line 152:
  ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }: bad substitution
  WARNING: .../temp/run.do_configure.4163366:152 exit 1 from
  '[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]'

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py