summaryrefslogtreecommitdiff
path: root/util/ifdtool
diff options
context:
space:
mode:
Diffstat (limited to 'util/ifdtool')
-rw-r--r--util/ifdtool/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile
index 83d19b892e..c0210693d8 100644
--- a/util/ifdtool/Makefile
+++ b/util/ifdtool/Makefile
@@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: GPL-2.0-only
-CC ?= gcc
-INSTALL = /usr/bin/env install
-PREFIX = /usr/local
+CC ?= gcc
+INSTALL ?= /usr/bin/env install
+PREFIX ?= /usr/local
HOSTCC ?= $(CC)
HOSTCFLAGS ?= $(CFLAGS)
@@ -21,7 +21,7 @@ clean:
distclean: clean
install: $(PROGRAM)
- mkdir -p $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
.PHONY: all clean distclean install