Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3486703pxk; Mon, 5 Oct 2020 10:53:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRaZprS3x7spYeLNpqIkSBy18ZA+jFtJbOopvmszniUdDmemiF1J1qYEHP0VQQHPxzzVwh X-Received: by 2002:aa7:dd16:: with SMTP id i22mr831637edv.335.1601920381556; Mon, 05 Oct 2020 10:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601920381; cv=none; d=google.com; s=arc-20160816; b=rJ62NR5LyjX7okOD1ejaqQ5OZ6LUTq9VwYE8sRgH4j7pV2CQ2HSsO5jphzkzWAztji 3yKax+dc5kj4kL302TCgOdPEAXq0Wy5zdlXqIhmybfJRglLbuvVoZ7eD3r0GHdVNSqNv 9Vv/FIMm2Xql2vS2QLVAzJnQ6lPIziL61NAl5b033txgWbVtuaA/6h3vD5Y5C6J2rl2H YsL9vOhjZx0Hs6HIhVal6S/m5FAIjpkMO1fpH/HFTY3gPZ/KyUUaP+NnJZe6hdQnk+Wv Fq8Or1yxn9l5L53qQm29JFY33GfsgIOrQoKrtgW3Gj40CEvV1ScWOWxc+7dzsyX/WY4C mXtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rDlTcp59qwB/56hGNNytNSo2L20qcmfZDDNQykOYef8=; b=OkT2+jdnBuLTfqlTQsFkeNWkZSIp60h11aaW2W45LcQrR9Iz6JruRgX5VEbKmXnUCP U9SAxmj4wwRZHTWr5MRQgxmpadVJOtwdsgTYs7UwHHp7JNo3jcPt3ntIA18Gl3v6HRCb LZ7e7l6D2AQN9+sZX1jCTwg9AE4lqj6dlwET6SCHmRaX7yRf/9Eu9q7P1HcHSaPDSq/3 /tlw2Gr4Vuz5W6kMnoomB2f1536jcgvGC8zC8juXmtMQuB2Q/Ex7QCArmKtKn566C9yg +RncDTrQZxgcpmO3ixz39/ZrzsuH9aemMObiSDmBN/NCEQLTrDFOuIZaz4/3WngZcXew K5HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q5A6V/xv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x100si502075ede.335.2020.10.05.10.52.39; Mon, 05 Oct 2020 10:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q5A6V/xv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728394AbgJEPfu (ORCPT + 99 others); Mon, 5 Oct 2020 11:35:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:33996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727695AbgJEPdq (ORCPT ); Mon, 5 Oct 2020 11:33:46 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93B2A208C7; Mon, 5 Oct 2020 15:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601912025; bh=jKqINKOnh2VFQ2GLMWE5bNupakZfRmWizmycKI9kb5s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q5A6V/xvj9+n8W+db/KxRd7QAyLkwIYm/KqjN4MQW8p1gpFPkdsopoR28KAoetuWM TM9HRYbr2QIGg1blChSiBLjLkhhTLPr1zq4HzCtchzNE+ouKnHKzdL7g2SgX3k8+BE 1/5xtkG7emKTNOxytxUscSqsMVnE59vzw3JHfAIw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , Sasha Levin Subject: [PATCH 5.8 70/85] scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting Date: Mon, 5 Oct 2020 17:27:06 +0200 Message-Id: <20201005142118.099357462@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201005142114.732094228@linuxfoundation.org> References: <20201005142114.732094228@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Uwe Kleine-König [ 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 Signed-off-by: Rob Herring Signed-off-by: Sasha Levin --- scripts/dtc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile index 0b44917f981c7..d4129e0275e4a 100644 --- a/scripts/dtc/Makefile +++ b/scripts/dtc/Makefile @@ -10,7 +10,7 @@ dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o # Source files need to get at the userspace version of libfdt_env.h to compile -HOST_EXTRACFLAGS := -I $(srctree)/$(src)/libfdt +HOST_EXTRACFLAGS += -I $(srctree)/$(src)/libfdt ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),) ifneq ($(CHECK_DT_BINDING)$(CHECK_DTBS),) -- 2.25.1