]> 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)
commit52dcb92ddc542b4b8ce4a6ca42d74063bf175e7f
tree11aecd52519f0c6f2753d95036a599725368430d
parentaf77e16e1d631dac02f70a6c9e64559cb99bdf4a
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: f2bb1d18e9b9 ("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