diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-21 12:19:41 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-12-10 14:35:34 +0100 |
commit | 9080ddd214a786f9d2f184b94f15ba9ce4939895 (patch) | |
tree | 4d63abae4c94ba617236fc0156c0ef02994b7a4b /images | |
parent | 038806d8e2e21d104987c18f3b25997fa5269b76 (diff) | |
download | barebox-9080ddd214a786f9d2f184b94f15ba9ce4939895.tar.gz barebox-9080ddd214a786f9d2f184b94f15ba9ce4939895.tar.xz |
ARM: am33xx Phytec phyCORE: Switch to multiimage support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile | 3 | ||||
-rw-r--r-- | images/Makefile.am33xx | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile index b080a8cda8..4ff06025b1 100644 --- a/images/Makefile +++ b/images/Makefile @@ -100,6 +100,7 @@ $(obj)/%.img: $(obj)/$$(FILE_$$(@F)) $(Q)if [ -z $(FILE_$(@F)) ]; then echo "FILE_$(@F) empty!"; false; fi $(call if_changed,shipped) +include $(srctree)/images/Makefile.am33xx include $(srctree)/images/Makefile.imx include $(srctree)/images/Makefile.mvebu include $(srctree)/images/Makefile.socfpga @@ -119,5 +120,5 @@ images: $(addprefix $(obj)/, $(image-y)) FORCE @for i in $(image-y); do echo $$i; done clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \ - start_*.kwbuartimg *.socfpgaimg + start_*.kwbuartimg *.socfpgaimg *.mlo clean-files += pbl.lds diff --git a/images/Makefile.am33xx b/images/Makefile.am33xx new file mode 100644 index 0000000000..8efef2aa77 --- /dev/null +++ b/images/Makefile.am33xx @@ -0,0 +1,22 @@ + +# %.mlo - convert into mlo image +# ---------------------------------------------------------------- +quiet_cmd_mlo_image = MLO $@ + cmd_mlo_image = scripts/omap_signGP -o $@ -l 0x402f0400 -c $< + +$(obj)/%.mlo: $(obj)/% FORCE + $(call if_changed,mlo_image) + +pblx-$(CONFIG_MACH_PCM051) += start_am33xx_phytec_phycore_sdram +FILE_barebox-am33xx-phytec-phycore.img = start_am33xx_phytec_phycore_sdram.pblx +am33xx-barebox-$(CONFIG_MACH_PCM051) += barebox-am33xx-phytec-phycore.img + +pblx-$(CONFIG_MACH_PCM051) += start_am33xx_phytec_phycore_sram +FILE_barebox-am33xx-phytec-phycore-mlo.img = start_am33xx_phytec_phycore_sram.pblx.mlo +am33xx-mlo-$(CONFIG_MACH_PCM051) += barebox-am33xx-phytec-phycore-mlo.img + +ifdef CONFIG_OMAP_BUILD_IFT +image-y += $(am33xx-mlo-y) +else +image-y += $(am33xx-barebox-y) +endif |