Files
Linux/tools/firmware/Makefile
T
Andrey Smirnov 1e5106031f tools: Add 'firmware' category and add ihex2fw tool
Commit 5620a0d1aa ("firmware: delete in-kernel firmware") removed
ihex2fw tool together with the rest of the contents of firmware/
folder. Since that tool is quite useful for doing .ihex -> .fw
converstion, restore its original source code to tools/firmware

Suggested-by: Greg Kroah-Hartman <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: linux-kernel <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-11-11 12:58:27 -08:00

13 lines
180 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Makefile for firmware tools
CFLAGS = -Wall -Wextra -g
all: ihex2fw
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
$(RM) ihex2fw
.PHONY: all clean