From: Andy Shevchenko Date: Wed, 30 Mar 2022 09:30:04 +0000 (+0300) Subject: Makefile.lib: Re-use $(UBOOTINCLUDE) in dtc_cpp_flags X-Git-Tag: v2025.01-rc5-pxa1908~1459^2~1 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=672c170f689174955ffccf1065950b4d8624766e;p=u-boot.git 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 --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index c14da10de7..2ff39d39dc 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__