[PATCH 18/25] Makefile.lib: add rule to built Tegra BCTs
Lucas Stach
dev at lynxeye.de
Mon May 12 00:07:59 PDT 2014
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
.gitignore | 1 +
scripts/Makefile.lib | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/.gitignore b/.gitignore
index d490491..5555e15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,7 @@
*.elf
*.mcp
*.orig
+*.bct
*.dcd
*.dcd.S
*.bbenv
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index d4306cb..0851870 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -400,3 +400,9 @@ quiet_cmd_imx_image = IMX-IMG $@
quiet_cmd_kwb_image = KWB $@
cmd_kwb_image = scripts/kwbimage -p $< $(OPTS_$(@F)) -o $@
+
+quiet_cmd_cboot_bct = BCT $@
+ cmd_cboot_bct = $(objtree)/scripts/tegra/cbootimage -gbct -s $(soc) $< $@
+
+$(obj)/%.bct: $(obj)/%.bct.cfg
+ $(call cmd,cboot_bct)
--
1.9.0
More information about the barebox
mailing list