summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-05-14 22:45:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-15 14:19:25 +0200
commit4f84368972117142b0bd9170b0e0a99bc5930b17 (patch)
treedc89650ec910d17be869369e64c5d7f44939d2d0
parentfaae9deff32a59af479f82825859efcbd26b96c6 (diff)
downloadbarebox-4f84368972117142b0bd9170b0e0a99bc5930b17.tar.gz
Makefile.lib: add rule to built Tegra BCTs
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-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)