public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 1/1] Makefile.lib: Re-use $(UBOOTINCLUDE) in dtc_cpp_flags
@ 2022-03-30  9:30 Andy Shevchenko
  2022-04-12 16:17 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-03-30  9:30 UTC (permalink / raw)
  To: Andy Shevchenko, u-boot; +Cc: Bin Meng, Simon Glass, Tom Rini

As in ASL case use same basic set of the inclusions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 scripts/Makefile.lib | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index c14da10de780..2ff39d39dc8a 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -185,12 +185,10 @@ u_boot_dtsi = $(strip $(u_boot_dtsi_options_debug) \
 
 # Modified for U-Boot
 dtc_cpp_flags  = -Wp,-MD,$(depfile).pre.tmp -nostdinc                    \
+		 $(UBOOTINCLUDE)                                         \
 		 -I$(srctree)/arch/$(ARCH)/dts                           \
 		 -I$(srctree)/arch/$(ARCH)/dts/include                   \
-		 -Iinclude                                               \
 		 -I$(srctree)/include                                    \
-		 -I$(srctree)/arch/$(ARCH)/include                       \
-		 -include $(srctree)/include/linux/kconfig.h             \
 		 -D__ASSEMBLY__                                          \
 		 -undef -D__DTS__
 
-- 
2.35.1


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

end of thread, other threads:[~2022-04-12 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-30  9:30 [PATCH v1 1/1] Makefile.lib: Re-use $(UBOOTINCLUDE) in dtc_cpp_flags Andy Shevchenko
2022-04-12 16:17 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox