summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2018-02-24 19:20:05 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-08-13 12:19:12 +0000
commit0005aabe2f60dc4875121b2598bb2ad034d37e87 (patch)
tree566bed66bc45a279668c59ee6c561724207f6493
parent9315a045cb28301dd6a45c070d64f5c3a26bcad4 (diff)
utils: spkmodem: Add Makefile and gitignore
Change-Id: Ie3a6a777f5b667e881a4462bdd44a34dbace5520 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: https://review.coreboot.org/23862 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--util/spkmodem_recv/.gitignore1
-rw-r--r--util/spkmodem_recv/Makefile7
2 files changed, 8 insertions, 0 deletions
diff --git a/util/spkmodem_recv/.gitignore b/util/spkmodem_recv/.gitignore
new file mode 100644
index 0000000000..2f5c946cc4
--- /dev/null
+++ b/util/spkmodem_recv/.gitignore
@@ -0,0 +1 @@
+spkmodem-recv
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
new file mode 100644
index 0000000000..5fdb1958c3
--- /dev/null
+++ b/util/spkmodem_recv/Makefile
@@ -0,0 +1,7 @@
+PREFIX ?= /usr/local
+INSTALL ?= install
+
+spkmodem-recv:
+ $(CC) -o $@ $@.c
+install: spkmodem-recv
+ $(INSTALL) $< -t $(PREFIX)/bin/