summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile3
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}" >>$@;\