rename util/spkmodem-recv to spkmodem-decode

it's no longer resembling the original util at all,
so a rename seems indicated. yes.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-12 21:21:36 +00:00
parent a31cfa4592
commit 30d5ca5146
4 changed files with 16 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
spkmodem-recv
spkmodem-decode
@@ -8,12 +8,12 @@ DESTDIR?=
PREFIX?=/usr/local
INSTALL?=install
PROG=spkmodem-recv
PROG=spkmodem-decode
all: $(PROG)
$(PROG): spkmodem-recv.c
$(CC) $(CFLAGS) spkmodem-recv.c -o $(PROG)
$(PROG): spkmodem-decode.c
$(CC) $(CFLAGS) spkmodem-decode.c -o $(PROG)
install: $(PROG)
mkdir -p $(DESTDIR)$(PREFIX)/bin/
@@ -22,7 +22,7 @@
* decode.
*
* Usage example (NOTE: little endian!):
* parec --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv
* parec --channels=1 --rate=48000 --format=s16le | ./spkmodem-decode
*
* Originally provided by GNU GRUB, this version is a heavily
* modified fork that complies with the OpenBSD Kernel Source
@@ -39,8 +39,17 @@
* explain how the decoding works. This was done as an academic
* exercise in 2023, continuing in 2026.
*
* This fork of spkmodem-recv is provided with Libreboot releases:
* This fork of spkmodem-recv, called spkmodem-decode, is provided
* with Libreboot releases:
* https://libreboot.org/
*
* The original GNU version is here, if you're morbidly curious:
* https://cgit.git.savannah.gnu.org/cgit/grub.git/plain/util/spkmodem-recv.c?id=3dce38eb196f47bdf86ab028de74be40e13f19fd
*
* Libreboot's version was renamed to spkmodem-decode on 12 March 2026,
* since Libreboot's version no longer closely resembles the GNU
* version at all; ergo, a full rename was in order. GNU's version
* was called spkmodem-recv.
*/
#define _POSIX_SOURCE
-1
View File
@@ -1 +0,0 @@
spkmodem-recv