* [PATCH] ARM: generate imx dcd.S files as *.dcd.S
@ 2013-07-10 10:22 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2013-07-10 10:22 UTC (permalink / raw)
To: barebox
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 <s.hauer@pengutronix.de>
---
.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 a08c6c1..1dec248 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 a022d6d..0ac4693 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 0c06778..6252c88 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 68fbe3a..bcaa974 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 307412f..ab12a38 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 $@
--
1.8.3.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-10 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 10:22 [PATCH] ARM: generate imx dcd.S files as *.dcd.S Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox