aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-07-29 22:19:51 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-03 19:58:17 +0200
commit3617f1350a6aafd5f39e9590d22317fa01a2621f (patch)
tree9d0c16fa50dbd7823746ac8e2ab3480587ac1edc /support
parent4b2a4e23a4ceadab3d155130eaf9b7bfb8771e63 (diff)
downloadbuildroot-3617f1350a6aafd5f39e9590d22317fa01a2621f.tar.gz
buildroot-3617f1350a6aafd5f39e9590d22317fa01a2621f.tar.bz2
support/scripts/br2-external: declare missing local variables
Commit b14b02698 (core/br2-external: restore compatibility with old distros) switched to using 'eval' to emulate associative arrays, for those distros too old to have bash-4+. In so doing, it forgot to declare the new local variables in the respective helper functions. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/br2-external4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/br2-external b/support/scripts/br2-external
index 00cb57d1ed..5097d617f3 100755
--- a/support/scripts/br2-external
+++ b/support/scripts/br2-external
@@ -119,7 +119,7 @@ do_validate_one() {
# Generate the .mk snippet that defines makefile variables
# for the br2-external tree
do_mk() {
- local br2_name br2_ext
+ local br2_name br2_desc br2_ext
printf '#\n# Automatically generated file; DO NOT EDIT.\n#\n'
printf '\n'
@@ -155,7 +155,7 @@ do_mk() {
# Generate the kconfig snippet for the br2-external tree.
do_kconfig() {
- local br2_name br2_ext
+ local br2_name br2_desc br2_ext
printf '#\n# Automatically generated file; DO NOT EDIT.\n#\n'
printf '\n'