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)
commitefe84d408bf41975db8506d3a1cc02e794e2309c
tree11aecd52519f0c6f2753d95036a599725368430d
parent64ff609b551914d8c2c51d828920f2ffc5237de7
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: e3fd9b5384f3 ("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