From patchwork Tue Apr 25 18:30:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Rowand X-Patchwork-Id: 9699285 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 5E1DA603F4 for ; Tue, 25 Apr 2017 18:35:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DF282846C for ; Tue, 25 Apr 2017 18:35:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42B5B284DA; Tue, 25 Apr 2017 18:35: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 E4ECE284EE for ; Tue, 25 Apr 2017 18:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1953422AbdDYSeu (ORCPT ); Tue, 25 Apr 2017 14:34:50 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:32888 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1953178AbdDYSbi (ORCPT ); Tue, 25 Apr 2017 14:31:38 -0400 Received: by mail-pg0-f67.google.com with SMTP id 63so12984405pgh.0; Tue, 25 Apr 2017 11:31:38 -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=qafPJXlN3g15QI8IjKkBxglLwDE4XiRpTnDaG+Sxh0P6N/rfOfPB3FKnAk1gyTytGL IwYcP0Y0FDv+eHlNqbCKIml8+g/xL2PY9fnbQ6Ra2UtMs+nn86jIYWLSE8WtwSqaooNa iRMKwDOC5L7SU8p/U/8wv8WaZM3s0J5osnYdIFaQEOLf33ppyoxZ3YAckv/FFRtnZ+li DDGTIiBdrgLwuxFL3V/EW1iucve2b56tmvoL62GDCL6ICtJss+xFzleFeyJA6Lq6fRYL TNePzGswyHXWyAl718k/9MxkbKeRWnal4EQBtkpYkUCwtkrpmvfUbNozMy0Wvlk0QTe8 HsrA== 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=V13IfiLluUto2CcEsUxPi6eGzufCP+DXTBZrDl7KQkFDuAtaMBI/2YOoPmA82I3EYW 4HRMQkrxi8zxgMJPf4UGvkBGfG8KrjvnizW+VmbTrGD6p7MoLCH9Mtcd66iH2Gi8MhPw Kw1nONKnzMUrxulkOZDgTaJzA/oiCh84W4VF4ZyghVXuOgqkIZMJ+Iz1ZjxVVPF5UmOr BKKpgfcVBR6qwwdM2TYKDR99qDhlWvjegYAfjuGSLr99wIRFd4mKWz39C5M2aIdrZ+5f 3r1Vy6G81UQSZNthm4uElhxDKqTDjyb8MgCSfHH9dI694nTdw2UhxTl+rS3y7ujJfxUV nsHQ== X-Gm-Message-State: AN3rC/7G3JlakmAqvpkeTtWDEdLWOtIapN0mwul0tezBk9jmpc3A8qo5 zJAHdIaDaOv0bju9 X-Received: by 10.98.141.16 with SMTP id z16mr30517066pfd.91.1493145092491; Tue, 25 Apr 2017 11:31:32 -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 c77sm30738224pfe.37.2017.04.25.11.31.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Apr 2017 11:31:31 -0700 (PDT) From: frowand.list@gmail.com To: Rob Herring , stephen.boyd@linaro.org, mmarek@suse.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH v3 1/2] of: support dtc compiler flags for overlays Date: Tue, 25 Apr 2017 11:30:55 -0700 Message-Id: <1493145056-16442-2-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493145056-16442-1-git-send-email-frowand.list@gmail.com> References: <1493145056-16442-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= \