[PATCH v4 2/6] kbuild: support DTC_CPP_FLAGS_file.dtbo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With newly added commit 3610ec11f72b ("kbuild: Add target to build dtb
overlay files"), overlays can now be marked as such in the build system
by using the dtbo extension in the Makefile instead of dtb.

Injecting extra flags with DTC_CPP_FLAGS_ was only supported for *.dtb
though, so add support now for *.dtbo for symmetry.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 scripts/Makefile.lib | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 90cfa579e5d5..42ee27499561 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -211,6 +211,7 @@ dtc_cpp_flags  = -Wp,-MD,$(depfile).pre -nostdinc                        \
 		 -I$(srctree)/dts/include                                \
 		 -I$(srctree)/dts/src/                                   \
 		 $(DTC_CPP_FLAGS_$(basetarget).dtb)                      \
+		 $(DTC_CPP_FLAGS_$(basetarget).dtbo)                     \
 		 -undef -D__DTS__
 
 ifdef CONFIG_BOOTM_FITIMAGE_PUBKEY
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux