From f93b5f8eb973a62affbaf134f07d367649ed3ae4 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Sun, 29 Sep 2013 21:59:36 +0200 Subject: tegra: switch to multi image To keep things clean I removed all support for the old way to build images. There is now a single tegra_v7 defconfig which builds both supported Tegra boards as images. The new image generation also paves the way for integration of the tegra-cbootimage tool to produce directly flashable images. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- images/Makefile | 1 + images/Makefile.tegra | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 images/Makefile.tegra (limited to 'images') diff --git a/images/Makefile b/images/Makefile index b87f522c15..8e126faee3 100644 --- a/images/Makefile +++ b/images/Makefile @@ -108,6 +108,7 @@ $(obj)/%.img: $(obj)/$$(FILE_$$(@F)) include $(srctree)/images/Makefile.imx include $(srctree)/images/Makefile.mvebu +include $(srctree)/images/Makefile.tegra targets += $(image-y) pbl.lds barebox.x barebox.z targets += $(patsubst %,%.pblx,$(pblx-y)) diff --git a/images/Makefile.tegra b/images/Makefile.tegra new file mode 100644 index 0000000000..1cf1432c96 --- /dev/null +++ b/images/Makefile.tegra @@ -0,0 +1,14 @@ +# +# barebox image generation Makefile for Tegra images +# + +board = $(srctree)/arch/$(ARCH)/boards + +# ----------------------- Tegra20 based boards --------------------------- +pblx-$(CONFIG_MACH_TOSHIBA_AC100) += start_toshiba_ac100 +FILE_barebox-tegra20-toshiba-ac100.img = start_toshiba_ac100.pblx +image-$(CONFIG_MACH_TOSHIBA_AC100) += barebox-tegra20-toshiba-ac100.img + +pblx-$(CONFIG_MACH_TORADEX_COLIBRI_T20_IRIS) += start_toradex_colibri_t20_iris +FILE_barebox-tegra20-toradex-colibri-t20-iris.img = start_toradex_colibri_t20_iris.pblx +image-$(CONFIG_MACH_TORADEX_COLIBRI_T20_IRIS) += barebox-tegra20-toradex-colibri-t20-iris.img -- cgit v1.2.3