From e64348f5eb4aef7e119a46b97bdba2cc9cb15fc5 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Mon, 31 Mar 2014 09:50:35 +0200 Subject: imx: add rules for U-Boot DTB support Signed-off-by: Stefano Babic --- arch/arm/imx-common/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/imx-common/Makefile') diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile index 16809fe..025cfed 100644 --- a/arch/arm/imx-common/Makefile +++ b/arch/arm/imx-common/Makefile @@ -42,6 +42,14 @@ MKIMAGEFLAGS_u-boot.imx = -n $(filter-out $< $(PHONY),$^) -T imximage \ u-boot.imx: u-boot.bin $(IMX_CONFIG) FORCE $(call if_changed,mkimage) +ifeq ($(CONFIG_OF_SEPARATE),y) +MKIMAGEFLAGS_u-boot-dtb.imx = -n $(filter-out $< $(PHONY),$^) -T imximage \ + -e $(CONFIG_SYS_TEXT_BASE) + +u-boot-dtb.imx: u-boot-dtb.bin $(IMX_CONFIG) FORCE + $(call if_changed,mkimage) +endif + MKIMAGEFLAGS_SPL = -n $(filter-out $< $(PHONY),$^) -T imximage \ -e $(CONFIG_SPL_TEXT_BASE) -- cgit v1.1