Makefile.lib: Re-use $(UBOOTINCLUDE) in dtc_cpp_flags
PATCH 1/1 Makefile.lib: Re-use $(UBOOTINCLUDE) in dtc_cpp_flags
As in ASL case use same basic set of the inclusions.
Signed-off-by Andy Shevchenko <[email protected]>
--- scripts/Makefile.lib | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
scripts/Makefile.lib +1 -3
@@ -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__
Signature · 1 line
2.35.1
Quoted 3 lines · Andy Shevchenko
As in ASL case use same basic set of the inclusions.
Signed-off-by Andy Shevchenko <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom