From a884920c516a3eab0c414b3ac878a55eaa3bb2df Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 4 Jul 2013 14:39:11 +0200 Subject: ARM: generate imx dcd.S files as *.dcd.S The compiled in dcd images generate an intermediate assembly file. Instead of generating them as *.S generate them as *.dcd.S to better identify them as generated files. These are then added to .gitignore. Signed-off-by: Sascha Hauer --- .gitignore | 2 ++ arch/arm/boards/efika-mx-smartbook/Makefile | 4 ++-- arch/arm/boards/freescale-mx51-pdk/Makefile | 4 ++-- arch/arm/boards/freescale-mx53-loco/Makefile | 4 ++-- scripts/Makefile.lib | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a08c6c1ec4..1dec248250 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,8 @@ *.elf *.mcp *.orig +*.dcd +*.dcd.S # # Top-level generic files diff --git a/arch/arm/boards/efika-mx-smartbook/Makefile b/arch/arm/boards/efika-mx-smartbook/Makefile index a022d6d706..0ac4693890 100644 --- a/arch/arm/boards/efika-mx-smartbook/Makefile +++ b/arch/arm/boards/efika-mx-smartbook/Makefile @@ -1,4 +1,4 @@ -obj-y += board.o flash-header-imx51-genesi-efikasb.o +obj-y += board.o flash-header-imx51-genesi-efikasb.dcd.o lwl-y += lowlevel.o -extra-y += flash-header-imx51-genesi-efikasb.S +extra-y += flash-header-imx51-genesi-efikasb.dcd.S extra-y += flash-header-imx51-genesi-efikasb.dcd diff --git a/arch/arm/boards/freescale-mx51-pdk/Makefile b/arch/arm/boards/freescale-mx51-pdk/Makefile index 0c06778a95..6252c88631 100644 --- a/arch/arm/boards/freescale-mx51-pdk/Makefile +++ b/arch/arm/boards/freescale-mx51-pdk/Makefile @@ -1,3 +1,3 @@ -obj-y += board.o flash-header-imx51-babbage.o -extra-y += flash-header-imx51-babbage.S flash-header-imx51-babbage.dcd +obj-y += board.o flash-header-imx51-babbage.dcd.o +extra-y += flash-header-imx51-babbage.dcd.S flash-header-imx51-babbage.dcd lwl-y += lowlevel.o diff --git a/arch/arm/boards/freescale-mx53-loco/Makefile b/arch/arm/boards/freescale-mx53-loco/Makefile index 68fbe3a4ec..bcaa974f35 100644 --- a/arch/arm/boards/freescale-mx53-loco/Makefile +++ b/arch/arm/boards/freescale-mx53-loco/Makefile @@ -1,3 +1,3 @@ -obj-y += board.o flash-header-imx53-loco.o -extra-y += flash-header-imx53-loco.S flash-header-imx53-loco.dcd +obj-y += board.o flash-header-imx53-loco.dcd.o +extra-y += flash-header-imx53-loco.dcd.S flash-header-imx53-loco.dcd lwl-y += lowlevel.o diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 307412f8d7..ab12a38c84 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -325,7 +325,7 @@ quiet_cmd_dcd = DCD $@ $(obj)/%.dcd: $(obj)/%.imxcfg FORCE $(call if_changed,dcd) -$(obj)/%.S: $(obj)/%.dcd +$(obj)/%.dcd.S: $(obj)/%.dcd $(call cmd,imximage_S_dcd) quiet_cmd_imx_image = IMX-IMG $@ -- cgit v1.2.3