summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--scripts/Makefile.lib6
2 files changed, 7 insertions, 0 deletions
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)