From patchwork Mon Apr 24 05:43:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Rowand X-Patchwork-Id: 9695621 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CAB5760113 for ; Mon, 24 Apr 2017 05:44:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBE5326224 for ; Mon, 24 Apr 2017 05:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B055F2679B; Mon, 24 Apr 2017 05:44:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61E4526224 for ; Mon, 24 Apr 2017 05:44:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165052AbdDXFo2 (ORCPT ); Mon, 24 Apr 2017 01:44:28 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:36561 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1046408AbdDXFoE (ORCPT ); Mon, 24 Apr 2017 01:44:04 -0400 Received: by mail-io0-f194.google.com with SMTP id x86so45676970ioe.3; Sun, 23 Apr 2017 22:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LtCXQdVqLz/uxExFHEglGVqrnJNqdXZoEhmnYYbC5Es=; b=VQj29LGs8gVl/HgTFZ2NoW8D8V2JLqfmUGe/kY0DsGQQbH10YRmvQj/+41THXw4k+5 2NWfLn2LPxaAh51d+pJT7Gdnn5SWEydgOBkIrmUZ2zp6TfmcHPxkXUXI2cWZs1Vzmau0 ILnbG/dCJ5RS4pHmwP3CTeGTnbirBW9DSs5gedecv83+VPCbxKvKmJbqjo6HthDwS19a H4YsFunmmToLaOxhLi+pjUAb0bm4FKjmZjT88bu3mDjGjWaxbFQOKf7RorP1gLgMPMPJ TbJ1GUzwiXR4wTWTeRaoTQNJ3VadtPFn3o5D9Cdc2QLBI6fkBWuL6pUow9tYB/GXGme+ 68kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LtCXQdVqLz/uxExFHEglGVqrnJNqdXZoEhmnYYbC5Es=; b=kQpZux+hOu+pK4GcTPGmLgHOpX5VoIe8ufDAqHZxmQE//+rQ0j4ebgGuZmpOYdRceu rdWsTGjnuQG7Sdva4i6e2WaSe7gRCTDkaYD3svQR6NUm9xr9OeN5pxWihTNed4UZyJO/ Q10JESidBcqTkhGQJgFdNe9b38NtDAMgRfWbcp4yOpHSivPrFB6pfZhhE5Jd1LW/wVmP +CuPLcJYipmFb1GnTQWWbMRBJlygwhqFti37jS52Y1dzOhb7ZFKCg1GMHLA4SLDbV9sk PJ6jmaO7BOIfMZhdTXHI/OQe87T/WqMORUV2Pfds9S72rgskA817F0n0ulwqQZi9UqCt Vo/A== X-Gm-Message-State: AN3rC/45fp5ZwK3Gt5lcDvpwmPyu69ip8yUq+QgYwgpmCWlt59hnmiOB aoFUr0vHMa8mGA== X-Received: by 10.98.147.93 with SMTP id b90mr15899113pfe.88.1493012643699; Sun, 23 Apr 2017 22:44:03 -0700 (PDT) Received: from localhost.localdomain (c-73-93-215-6.hsd1.ca.comcast.net. [73.93.215.6]) by smtp.gmail.com with ESMTPSA id n7sm28177265pfn.0.2017.04.23.22.44.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Apr 2017 22:44:03 -0700 (PDT) From: frowand.list@gmail.com To: Rob Herring , stephen.boyd@linaro.org, Michal Marek Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 1/2] of: add support of dtc compiler flags for device tree overlays Date: Sun, 23 Apr 2017 22:43:14 -0700 Message-Id: <1493012595-696-2-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493012595-696-1-git-send-email-frowand.list@gmail.com> References: <1493012595-696-1-git-send-email-frowand.list@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Frank Rowand The dtc compiler version that adds initial support was available in 4.11-rc1. Add the ability to set the dtc compiler flags needed by overlays. Signed-off-by: Frank Rowand --- scripts/Makefile.lib | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 0a07f9014944..0bbec480d323 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -283,6 +283,8 @@ ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) DTC_FLAGS += -Wno-unit_address_vs_reg endif +DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) + # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \