9
0
Fork 0

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 <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-07-04 14:39:11 +02:00
parent a1c79b1bd1
commit a884920c51
5 changed files with 9 additions and 7 deletions

2
.gitignore vendored
View File

@ -20,6 +20,8 @@
*.elf
*.mcp
*.orig
*.dcd
*.dcd.S
#
# Top-level generic files

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 $@