summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-02-18 12:59:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-02-18 12:59:20 +0100
commita32d0e18fb1bc738ae1aa79d8713b178c977988c (patch)
tree6da146ba08f4dd38f1fc7cebea27ce890633f005 /Makefile
parent7449d94af386f6a30d57a92bf9546c9c8df31640 (diff)
parent9e5264ad8927dfc1d1f8d581f286763834d33b0e (diff)
downloadbarebox-a32d0e18fb1bc738ae1aa79d8713b178c977988c.tar.gz
barebox-a32d0e18fb1bc738ae1aa79d8713b178c977988c.tar.xz
Merge branch 'for-next/dts'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f81cb18a08..bb46f3aaf9 100644
--- a/Makefile
+++ b/Makefile
@@ -431,8 +431,9 @@ USERINCLUDE := \
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
-LINUXINCLUDE := -Iinclude -I$(srctree)/dts/include \
+LINUXINCLUDE := -Iinclude \
$(if $(building_out_of_srctree), -I$(srctree)/include) \
+ -I$(srctree)/dts/include \
-I$(srctree)/arch/$(SRCARCH)/include \
-I$(objtree)/arch/$(SRCARCH)/include \
$(USERINCLUDE)