]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 19 Sep 2020 14:39:22 +0000 (16:39 +0200)
committerRob Herring <robh@kernel.org>
Tue, 29 Sep 2020 20:48:08 +0000 (15:48 -0500)
commit3e0e7e8a42947ffb4ab9e0e3247dff8b71311640
tree11aecd52519f0c6f2753d95036a599725368430d
parenta60a8b491f64c2e3e184390af61e94744030f9a3
scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting

When building with

$ HOST_EXTRACFLAGS=-g make

the expectation is that host tools are built with debug informations.
This however doesn't happen if the Makefile assigns a new value to the
HOST_EXTRACFLAGS instead of appending to it. So use += instead of := for
the first assignment.

Fixes: 4dcd5137c730 ("scripts/dtc: consolidate include path options in Makefile")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/dtc/Makefile