From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] ARM: generate imx dcd.S files as *.dcd.S
Date: Wed, 10 Jul 2013 12:22:03 +0200 [thread overview]
Message-ID: <1373451723-13575-1-git-send-email-s.hauer@pengutronix.de> (raw)
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
reply other threads:[~2013-07-10 10:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1373451723-13575-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox