summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sabresd/Makefile
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@freescale.com>2014-05-27 08:30:30 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-05-27 09:39:37 -0500
commit441fd86d055c57b79257943449a8101b83e98c61 (patch)
tree26621a33b00f8b3c2b346a53384b38b99f27a268 /board/freescale/mx6sabresd/Makefile
parent0802947cfb94789cdb6b8a402a7c4523549c2a12 (diff)
downloadu-boot-imx-441fd86d055c57b79257943449a8101b83e98c61.zip
u-boot-imx-441fd86d055c57b79257943449a8101b83e98c61.tar.gz
u-boot-imx-441fd86d055c57b79257943449a8101b83e98c61.tar.bz2
ENGR00315499-4: Add support for i.MX6 Plugin images
Support generating plugin images. Make sure not to effect the size of DCD images. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'board/freescale/mx6sabresd/Makefile')
-rw-r--r--board/freescale/mx6sabresd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/mx6sabresd/Makefile b/board/freescale/mx6sabresd/Makefile
index cfca2ef..c5446c9 100644
--- a/board/freescale/mx6sabresd/Makefile
+++ b/board/freescale/mx6sabresd/Makefile
@@ -7,3 +7,7 @@
#
obj-y := mx6sabresd.o
+
+extra-$(CONFIG_USE_PLUGIN) := plugin.bin
+$(obj)/plugin.bin: $(obj)/plugin.o
+ $(OBJCOPY) -O binary --gap-fill 0xff $< $@