aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index d872b7942a30..ea1d28f9b44c 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -37,6 +37,8 @@ fw-shipped-$(CONFIG_CHELSIO_T3) += cxgb3/t3b_psram-1.1.0.bin \
37 cxgb3/t3c_psram-1.1.0.bin \ 37 cxgb3/t3c_psram-1.1.0.bin \
38 cxgb3/t3fw-7.0.0.bin 38 cxgb3/t3fw-7.0.0.bin
39fw-shipped-$(CONFIG_DVB_TTUSB_BUDGET) += ttusb-budget/dspbootcode.bin 39fw-shipped-$(CONFIG_DVB_TTUSB_BUDGET) += ttusb-budget/dspbootcode.bin
40fw-shipped-$(CONFIG_E100) += e100/d101m_ucode.bin e100/d101s_ucode.bin \
41 e100/d102e_ucode.bin
40fw-shipped-$(CONFIG_SMCTR) += tr_smctr.bin 42fw-shipped-$(CONFIG_SMCTR) += tr_smctr.bin
41fw-shipped-$(CONFIG_SND_KORG1212) += korg/k1212.dsp 43fw-shipped-$(CONFIG_SND_KORG1212) += korg/k1212.dsp
42fw-shipped-$(CONFIG_SND_MAESTRO3) += ess/maestro3_assp_kernel.fw \ 44fw-shipped-$(CONFIG_SND_MAESTRO3) += ess/maestro3_assp_kernel.fw \
@@ -99,10 +101,10 @@ quiet_cmd_ihex = IHEX $@
99 cmd_ihex = $(OBJCOPY) -Iihex -Obinary $< $@ 101 cmd_ihex = $(OBJCOPY) -Iihex -Obinary $< $@
100 102
101quiet_cmd_ihex2fw = IHEX2FW $@ 103quiet_cmd_ihex2fw = IHEX2FW $@
102 cmd_ihex2fw = $(objtree)/$(obj)/ihex2fw $< $@ 104 cmd_ihex2fw = $(objtree)/scripts/ihex2fw $< $@
103 105
104quiet_cmd_h16tofw = H16TOFW $@ 106quiet_cmd_h16tofw = H16TOFW $@
105 cmd_h16tofw = $(objtree)/$(obj)/ihex2fw -w $< $@ 107 cmd_h16tofw = $(objtree)/scripts/ihex2fw -w $< $@
106 108
107quiet_cmd_fwbin = MK_FW $@ 109quiet_cmd_fwbin = MK_FW $@
108 cmd_fwbin = FWNAME="$(patsubst firmware/%.gen.S,%,$@)"; \ 110 cmd_fwbin = FWNAME="$(patsubst firmware/%.gen.S,%,$@)"; \
@@ -165,11 +167,11 @@ $(obj)/%: $(obj)/%.ihex | $(objtree)/$(obj)/$$(dir %)
165# is actually meaningful, because the firmware has to be loaded in a certain 167# is actually meaningful, because the firmware has to be loaded in a certain
166# order rather than as a single binary blob. Thus, we convert them into our 168# order rather than as a single binary blob. Thus, we convert them into our
167# more compact binary representation of ihex records (<linux/ihex.h>) 169# more compact binary representation of ihex records (<linux/ihex.h>)
168$(obj)/%.fw: $(obj)/%.HEX $(obj)/ihex2fw | $(objtree)/$(obj)/$$(dir %) 170$(obj)/%.fw: $(obj)/%.HEX | $(objtree)/$(obj)/$$(dir %)
169 $(call cmd,ihex2fw) 171 $(call cmd,ihex2fw)
170 172
171# .H16 is our own modified form of Intel HEX, with 16-bit length for records. 173# .H16 is our own modified form of Intel HEX, with 16-bit length for records.
172$(obj)/%.fw: $(obj)/%.H16 $(obj)/ihex2fw | $(objtree)/$(obj)/$$(dir %) 174$(obj)/%.fw: $(obj)/%.H16 | $(objtree)/$(obj)/$$(dir %)
173 $(call cmd,h16tofw) 175 $(call cmd,h16tofw)
174 176
175$(firmware-dirs): 177$(firmware-dirs):
@@ -186,5 +188,3 @@ targets := $(fw-shipped-) $(patsubst $(obj)/%,%, \
186# Without this, built-in.o won't be created when it's empty, and the 188# Without this, built-in.o won't be created when it's empty, and the
187# final vmlinux link will fail. 189# final vmlinux link will fail.
188obj-n := dummy 190obj-n := dummy
189
190hostprogs-y := ihex2fw