]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:48:12 +0000 (14:48 +0100)
commit0f28b9dd6a7d482ff1a5f010cfcd19a9b6b7e92e
tree0c8da8dc9492afc90a5885e7ad800ea138a86c6b
parentb092bb115d02187d6ce36f5699a0b2eb55d010b4
scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting

BugLink: https://bugs.launchpad.net/bugs/1900632
[ Upstream commit efe84d408bf41975db8506d3a1cc02e794e2309c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
scripts/dtc/Makefile