diff options
author | Nico Huber <nico.h@gmx.de> | 2020-02-09 12:09:18 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-02-12 20:07:04 +0000 |
commit | cccb2d76c5ec5088e52c7913801a4bbd6661945b (patch) | |
tree | 9f16d767a83fb6f006f79f96d388497f19e92435 /Makefile.inc | |
parent | 65718760faf95921467dfe882858076b472e4237 (diff) |
arch/arm64/Makefile.inc: Avoid # in variable definition
Interpretation if # starts a comment inside a variable definition varies
between GNU make versions. Use a wildcard to match the first # and use
`sed` instead of `grep | cut` to avoid unbalanced quoting chars.
Tested with GNU make 4.2.1 and 4.3. Both produce the same output as
4.2.1 did before the patch.
Change-Id: Ib7c4d7323e112968d3f14ea0590b7dabc57c9c45
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38794
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile.inc')
0 files changed, 0 insertions, 0 deletions