diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2022-07-13 11:57:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-07-14 10:27:41 +0200 |
commit | 92262f8709c5de9776d45ab49aca38ee41413b2c (patch) | |
tree | cba647eaafdf6bacd5ae784868cb35f75ca1d0f8 /arch/mips | |
parent | 8312be9451f2f640b8696bbcbd77f9ec2b48cd24 (diff) | |
download | barebox-92262f8709c5de9776d45ab49aca38ee41413b2c.tar.gz barebox-92262f8709c5de9776d45ab49aca38ee41413b2c.tar.xz |
kbuild: gen-dtb-s: use Makefile.lib instead of duplicating cmd_lzo
We call lzop in two places: in gen-dtb-s to generate a compressed device
tree symbol and in Makefile.lib, which is used everywhere else.
Replace the duplication in gen-dtb-s by compressing the DT outside with
the existing cmd_lzo command. This will come in handy later when
extending gen-dtb-s to support multiple compression formats.
No functional change intended.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220713095730.1878941-4-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index e4cc3b44a5..d99c4c6358 100644 --- a/arch/mips/dts/Makefile +++ b/arch/mips/dts/Makefile @@ -18,4 +18,4 @@ pbl-$(CONFIG_BOARD_RZX50) += rzx50.dtb.o pbl-$(CONFIG_BOARD_TPLINK_MR3020) += ar9331_tl_mr3020.dtb.o pbl-$(CONFIG_BOARD_TPLINK_WDR4300) += ar9344-tl-wdr4300-v1.7.dtb.o -clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.lzo +clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z |