arm: dts: Move common arm includes into a dts system include

Introduce a system include so that board dts files are able to live in
any location and properly include the things they need.

Change-Id: Icd26433117a4ca9726aeb74eec9f72c6d9df617c
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-04-03 16:35:53 -05:00
parent 22d84c6f95
commit a0fbc88c1a
7 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#include "armv7-m.dtsi"
#include <arm/armv7-m.dtsi>
#include <inc/hw_memmap.h>
#include <inc/hw_ints.h>

View file

@ -1,4 +1,4 @@
#include "armv7-m.dtsi"
#include <arm/armv7-m.dtsi>
/ {
cpus {

View file

@ -1,4 +1,4 @@
#include "armv6-m.dtsi"
#include <arm/armv6-m.dtsi>
/ {
cpus {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "armv7-m.dtsi"
#include <arm/armv7-m.dtsi>
/ {
sram0: memory {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "armv7-m.dtsi"
#include <arm/armv7-m.dtsi>
/ {

View file

@ -1,6 +1,6 @@
/dts-v1/;
#include "armv7-m.dtsi"
#include <arm/armv7-m.dtsi>
#include "arm/beetle/soc_irq.h"
/ {

View file

@ -156,6 +156,8 @@ dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
$(ZEPHYRINCLUDE) \
-I$(srctree)/arch/$(ARCH)/soc \
-I$(srctree)/dts/common \
-I$(srctree)/dts \
-I$(srctree)/dts/$(ARCH) \
-I$(srctree)/drivers/of/testcase-data \
-undef -D__DTS__