Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1630895

[PATCH v3 1/2] of: support dtc compiler flags for overlays

From frowand.list@gmail.com
Newsgroups linux.kernel
Subject [PATCH v3 1/2] of: support dtc compiler flags for overlays
Date 2017-04-25 20:40 +0200
Message-ID <tAdxw-8iW-33@gated-at.bofh.it> (permalink)
References <tAdxv-8iW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Frank Rowand <frank.rowand@sony.com>

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 <frank.rowand@sony.com>
---
 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=						\
-- 
Frank Rowand <frank.rowand@sony.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] of: Add unit tests for applying overlays frowand.list@gmail.com - 2017-04-25 20:40 +0200
  [PATCH v3 2/2] of: Add unit tests for applying overlays frowand.list@gmail.com - 2017-04-25 20:40 +0200
  [PATCH v3 1/2] of: support dtc compiler flags for overlays frowand.list@gmail.com - 2017-04-25 20:40 +0200

csiph-web