diff options
author | Markus Niebel <Markus.Niebel@tq-group.com> | 2014-06-26 18:22:46 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-26 18:53:21 +0200 |
commit | 15d225d3ed05a5a1e4aad80dde99dfb4e03d319e (patch) | |
tree | 65f35b22ab1c5b9b0874a87c157f6940be9e5a94 /rules/u-boot.make | |
parent | 5986fadff7e4410fd470d4452bb1aeab232b831e (diff) | |
download | ptxdist-15d225d3ed05a5a1e4aad80dde99dfb4e03d319e.tar.gz ptxdist-15d225d3ed05a5a1e4aad80dde99dfb4e03d319e.tar.xz |
u-boot: add config option for imx images
For i.MX SOC the U-Boot build system generates imx-images
containing the DCD structure used by the ROM loader.
This patch provides a config option and install rules for
this type of images.
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/u-boot.make')
-rw-r--r-- | rules/u-boot.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/u-boot.make b/rules/u-boot.make index af2b02d88..44b59fa14 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -68,6 +68,9 @@ endif ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMG @install -D -m644 $(U_BOOT_DIR)/u-boot.img $(IMAGEDIR)/u-boot.img endif +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMX + @install -D -m644 $(U_BOOT_DIR)/u-boot.imx $(IMAGEDIR)/u-boot.imx +endif @$(call touch) # ---------------------------------------------------------------------------- @@ -78,5 +81,6 @@ $(STATEDIR)/u-boot.clean: @$(call targetinfo) @$(call clean_pkg, U_BOOT) @rm -f $(IMAGEDIR)/u-boot.bin $(IMAGEDIR)/u-boot.srec $(IMAGEDIR)/u-boot.elf + @rm -f $(IMAGEDIR)/u-boot.imx # vim: syntax=make |