[Buildroot] [git commit branch/2020.02.x] package/pkg-kconfig: fix error string
Peter Korsgaard
peter at korsgaard.com
Sat Apr 3 11:34:19 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=1a9ae3203c3b6a8a887afde40569cd83ad3c0221
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x
Current error string speaks only about "fragment" but here we also deal
with Kconfig files, so let's add "file or fragment" instead of "fragment".
Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit a7348f0f7de1021ea578cd81784e70b1832adb79)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/pkg-kconfig.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk
index 2aecf2e203..dd727b7200 100644
--- a/package/pkg-kconfig.mk
+++ b/package/pkg-kconfig.mk
@@ -117,7 +117,7 @@ $(2)_KCONFIG_STAMP_DOTCONFIG = .stamp_dotconfig
$$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch
for f in $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES); do \
if [ ! -f "$$$${f}" ]; then \
- printf "Kconfig fragment '%s' for '%s' does not exist\n" "$$$${f}" "$(1)"; \
+ printf "Kconfig file or fragment '%s' for '%s' does not exist\n" "$$$${f}" "$(1)"; \
exit 1; \
fi; \
done
More information about the buildroot
mailing list