summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-01-03 02:08:38 +0000
committerLeah Rowe <leah@libreboot.org>2025-01-03 02:08:38 +0000
commitefd50ee548b0f8d9d048e822cc54f0f0d3d19185 (patch)
tree10421880580ad5e2bb8a909e18ff2cc547da4248 /util/nvmutil
parent8008838abbc659e81de07075f3939b0b8af5ca12 (diff)
util/nvmutil: Honour the INSTALL variable
Don't assume "install" is the correct command. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index bd1d70fa..b946a193 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -6,12 +6,13 @@ CC?=cc
CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
DESTDIR?=
PREFIX?=/usr/local
+INSTALL?=install
nvm: nvmutil.c
$(CC) $(CFLAGS) nvmutil.c -o nvm
install:
- install nvm $(DESTDIR)$(PREFIX)/bin/nvm
+ $(INSTALL) nvm $(DESTDIR)$(PREFIX)/bin/nvm
uninstall:
rm -f $(DESTDIR)$(PREFIX)/nvm