From: yi jaeuk Date: Fri, 4 May 2018 12:08:32 +0000 (+0900) Subject: [COMMON] firmware: Makefile: convert ihex2fw X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=744037f4d357b0d2c6e6a47819cc7417b1e209f6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] firmware: Makefile: convert ihex2fw Change-Id: I1486470ff0718627fdc938a1220523e8d1cf3f19 Signed-off-by: yi jaeuk --- diff --git a/firmware/Makefile b/firmware/Makefile index 83fbcf2f5275..4284add2f044 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -12,6 +12,15 @@ fwabs := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir)) fw-external-y := $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE)) +quiet_cmd_ihex = IHEX $@ + cmd_ihex = $(OBJCOPY) -Iihex -Obinary $< $@ + +quiet_cmd_ihex2fw = IHEX2FW $@ + cmd_ihex2fw = $(objtree)/$(obj)/ihex2fw $< $@ + +quiet_cmd_h16tofw = H16TOFW $@ + cmd_h16tofw = $(objtree)/$(obj)/ihex2fw -w $< $@ + quiet_cmd_fwbin = MK_FW $@ cmd_fwbin = FWNAME="$(patsubst firmware/%.gen.S,%,$@)"; \ FWSTR="$(subst /,_,$(subst .,_,$(subst -,_,$(patsubst \