]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: add %.dtb.S and %.dtb to 'targets' automatically
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 23 Mar 2018 13:04:34 +0000 (22:04 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 7 Apr 2018 10:04:02 +0000 (19:04 +0900)
commit1fd17becb61fe7d8684522f9038f1f8b5335e8a1
treee696224fb9f3081f3f3b37d228817505a76dfd18
parenta7976dcb2dbbb1a6e1d78d0543a5baa09c9c1feb
kbuild: add %.dtb.S and %.dtb to 'targets' automatically

Another common pattern that consists of chained commands is to compile
a DTB as binary data into the kernel image or a module.  It is used in
several places in the source tree.  Support it in the core Makefile.

$(call if_changed,dt_S_dtb) is more suitable than $(call cmd,dt_S_dtb)
in case cmd_dt_S_dtb is changed in the future.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Frank Rowand <frowand.list@gmail.com>
drivers/of/unittest-data/Makefile
scripts/Makefile.build
scripts/Makefile.lib