kbuild: Do not use hyphen in exported variable name
authorBen Hutchings <ben@decadent.org.uk>
Fri, 26 Aug 2016 00:31:28 +0000 (01:31 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 2 Mar 2018 07:52:22 +0000 (07:52 +0000)
commitbccf8c66eb10f7a9118f70dc5a4994cbc6e9fd4a
tree4da5122d297035cfede9414d64558c0c8156d478
parente23f22ebb8c7b08dca5d89ceebfcb0deb338797e
kbuild: Do not use hyphen in exported variable name

This definition in Makefile.dtbinst:

    export dtbinst-root ?= $(obj)

should define and export dtbinst-root when handling the root dts
directory, and do nothing in the subdirectories.  However, the
variable does not reliably get exported to the environment, perhaps
because its name contains a hyphen.

Rename the variable to dtbinst_root.

References: https://bugs.debian.org/833561
Fixes: 323a028d39cdi ("dts, kbuild: Implement support for dtb vendor subdirs")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name kbuild-do-not-use-hyphen-in-exported-variable-name.patch
scripts/Makefile.dtbinst