All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 1/2] Makefile: Add arch/arch/$(hdr-arch)/boot in header include path
@ 2013-02-15  8:52 ` Hiroshi Doyu
  0 siblings, 0 replies; 15+ messages in thread
From: Hiroshi Doyu @ 2013-02-15  8:52 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Hiroshi Doyu, Michal Marek,
	Stephen Warren, Mike Turquette, Peter De Schrijver,
	Prashant Gaikwad, Joseph Lo, linux-kbuild-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

With a new feature dtc+cpp, DT can introduces some definitions in its
header files for their own. Some of those DT info can be used in
kernel source as well, instead of having the duplicate info in kernel
headers. This patch allows kernel source to include those DT
headers. For example:

+ #include <dts/tegra20-car.h>

Signed-off-by: Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0b4bf62..7f54cdb 100644
--- a/Makefile
+++ b/Makefile
@@ -364,7 +364,7 @@ LINUXINCLUDE    := \
 		-I$(srctree)/arch/$(hdr-arch)/include \
 		-Iarch/$(hdr-arch)/include/generated \
 		$(if $(KBUILD_SRC), -I$(srctree)/include) \
-		-Iinclude \
+		-Iinclude -Iarch/$(hdr-arch)/boot \
 		$(USERINCLUDE)
 
 KBUILD_CPPFLAGS := -D__KERNEL__
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-02-19 17:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15  8:52 [RFC 1/2] Makefile: Add arch/arch/$(hdr-arch)/boot in header include path Hiroshi Doyu
2013-02-15  8:52 ` Hiroshi Doyu
2013-02-15  8:52 ` Hiroshi Doyu
2013-02-15  8:52 ` Hiroshi Doyu
2013-02-15  8:52 ` [RFC 2/2] clk: tegra20: Use DT defines for CLK ID Hiroshi Doyu
2013-02-15  8:52   ` Hiroshi Doyu
2013-02-15 16:29   ` Stephen Warren
2013-02-15 16:29     ` Stephen Warren
     [not found] ` <1360918364-27960-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-02-15 16:25   ` [RFC 1/2] Makefile: Add arch/arch/$(hdr-arch)/boot in header include path Stephen Warren
2013-02-15 16:25     ` Stephen Warren
2013-02-15 16:25     ` Stephen Warren
2013-02-18 13:26     ` Michal Marek
2013-02-18 13:26       ` Michal Marek
2013-02-19 17:18       ` Stephen Warren
2013-02-19 17:18         ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.