diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-11-15 07:30:51 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-11-15 07:30:53 +0100 |
commit | 30f4e4fab9af9c10f47054b9e5611e50b243db8b (patch) | |
tree | 5b2aed3cc2fa4c5f5f64f68d2db7252e2b64761d | |
parent | 2e40eedd0b04d1c77d7094eda714ba801e3eb7ff (diff) | |
download | ptxdist-30f4e4fab9af9c10f47054b9e5611e50b243db8b.tar.gz ptxdist-30f4e4fab9af9c10f47054b9e5611e50b243db8b.tar.xz |
ptxd_kconfig_find_config: fail for mode=run if no config is found
mode=run is used to generate the dependencies. Usually, this only happens
explicitly on the current top layer. A non-existent config already fails
earlier.
For collections, the dependencies are generated for each layer to generate
the kconfig files. With this all layers below the first config file are
ignored.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/lib/ptxd_lib_kconfig.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_kconfig.sh b/scripts/lib/ptxd_lib_kconfig.sh index 00513999e..1013e77c7 100644 --- a/scripts/lib/ptxd_lib_kconfig.sh +++ b/scripts/lib/ptxd_lib_kconfig.sh @@ -341,7 +341,7 @@ ptxd_kconfig_find_config() { fi if [ ! -e "${last_config}" ]; then # no config on this layer - if [ "${mode}" = check -a "${last_config}" = "${base_config}" ]; then + if [ \( "${mode}" = check -o "${mode}" = run \) -a "${last_config}" = "${base_config}" ]; then # no config below -> nothing to do return 43 fi |