summaryrefslogtreecommitdiff
path: root/util/libreboot-utils
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-29 16:25:41 +0100
committerLeah Rowe <leah@libreboot.org>2026-03-29 16:25:41 +0100
commit01aa95ec15ed5a6e519f1d3887e105a40e17b84c (patch)
treeb7bfac44fde5ad7f8702b274150551a93b01bc7f /util/libreboot-utils
parente54862fcccca0325da8ae2879c1fa965267d3df0 (diff)
Revert "lbmk: use mkhtemp in libreboot's build system"
This reverts commit e54862fcccca0325da8ae2879c1fa965267d3df0. nope. not ready yet. will fix it later.
Diffstat (limited to 'util/libreboot-utils')
-rw-r--r--util/libreboot-utils/Makefile2
-rw-r--r--util/libreboot-utils/mkhtemp.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/util/libreboot-utils/Makefile b/util/libreboot-utils/Makefile
index 5ebc9b93..07b3a727 100644
--- a/util/libreboot-utils/Makefile
+++ b/util/libreboot-utils/Makefile
@@ -68,8 +68,6 @@ $(PROG): $(OBJS_NVMUTIL)
$(PROGMKH): $(OBJS_MKHTEMP)
$(CC_MODE) $(OBJS_MKHTEMP) -o $(PROGMKH) $(LDFLAGS)
- cp -r mkhtemp mktemp
- chmod 755 mktemp
$(PROGLOT): $(OBJS_LOTTERY)
$(CC_MODE) $(OBJS_LOTTERY) -o $(PROGLOT) $(LDFLAGS)
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c
index c9315b0c..de86a2bf 100644
--- a/util/libreboot-utils/mkhtemp.c
+++ b/util/libreboot-utils/mkhtemp.c
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
xpledgex("stdio flock rpath wpath cpath", NULL);
while ((c =
- getopt(argc, argv, "qdp:t")) != -1) {
+ getopt(argc, argv, "qdp:")) != -1) {
switch (c) {
case 'd':
@@ -83,12 +83,6 @@ main(int argc, char *argv[])
/* (exit status unchanged) */
break;
- case 't':
- break; /* not supported yet. TODO */
- /* configured above without optarg,
- * so that it is treated as a normal
- * template string */
-
default:
goto err_usage;
}