summaryrefslogtreecommitdiff
path: root/util/ectool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/ectool/Makefile')
-rw-r--r--util/ectool/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/ectool/Makefile b/util/ectool/Makefile
index 1ef74d25f2..8670def922 100644
--- a/util/ectool/Makefile
+++ b/util/ectool/Makefile
@@ -22,7 +22,8 @@ $(PROGRAM): ec.o ectool.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
install: $(PROGRAM)
- $(INSTALL) $(PROGRAM) $(PREFIX)/sbin
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
+ $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
clean:
rm -f *.o $(PROGRAM) junit.xml