diff options
author | Zeng Zhaoming <b32542@freescale.com> | 2011-05-05 23:32:17 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:13:37 +0800 |
commit | d88f6ceee7ad908c9ced014574923094adf523b6 (patch) | |
tree | 8d373da18926a1ec734d060537d4f9cce9188983 /firmware/Makefile | |
parent | 124e4d099b064f57d32f2638da7a323b7c8168d1 (diff) |
ENGR00143074 Firmware: Fix firmware build failed in 2.6.38 kernel
Firmware build failed when add ihex format firmware.
This regression introduced by d21b2d2fb3a689193cae637d7195512ba8451a63,
which wrongly add 'bin-format' firmware.
Fix it by revert the wrong commit and convert sdma firmware to ihex.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 66d0e9902857..8da933d9af04 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -172,12 +172,11 @@ quiet_cmd_fwbin = MK_FW $@ ASM_WORD=$(if $(CONFIG_64BIT),.quad,.long); \ ASM_ALIGN=$(if $(CONFIG_64BIT),3,2); \ PROGBITS=$(if $(CONFIG_ARM),%,@)progbits; \ - FWPATH=$(if $(KBUILD_SRC),$(srctree)/)$(2); \ echo "/* Generated by firmware/Makefile */" > $@;\ echo " .section .rodata" >>$@;\ echo " .p2align $${ASM_ALIGN}" >>$@;\ echo "_fw_$${FWSTR}_bin:" >>$@;\ - echo " .incbin \"$${FWPATH}\"" >>$@;\ + echo " .incbin \"$(2)\"" >>$@;\ echo "_fw_end:" >>$@;\ echo " .section .rodata.str,\"aMS\",$${PROGBITS},1" >>$@;\ echo " .p2align $${ASM_ALIGN}" >>$@;\ |