summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv/Makefile
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-16 22:44:25 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-16 23:09:42 +0100
commitb496ead7b30b1025595f624c71b5d59756ea9fb4 (patch)
treecec5ac83926ceccd1cc4ca097b95c6d050b951e4 /util/spkmodem_recv/Makefile
parent52d87f5f086041c94340d460d74d77a2253e9d7f (diff)
util/spkmodem_recv: Import from coreboot
Imported from util/spkmodem_recv at coreboot revision: e70bc423f9a2e1d13827f2703efe1f9c72549f20 This is a client for spkmodem, to allow serial console via PC speaker. I've decided to import it in lbmk, because I heavily modified it. The patches will be applied next. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv/Makefile')
-rw-r--r--util/spkmodem_recv/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
new file mode 100644
index 00000000..92a3bfe9
--- /dev/null
+++ b/util/spkmodem_recv/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+PREFIX ?= /usr/local
+INSTALL ?= install
+
+spkmodem-recv:
+ $(CC) -o $@ $@.c
+install: spkmodem-recv
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/