util/intelvbttool/Makefile: Add install target
Change-Id: Id69f8e4ea426bc60080cdfd004890a87b1720cd1 Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90014 Reviewed-by: Nicholas <nic.c3.14@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
493e3d182e
commit
dfe553aebb
1 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
PROGRAM = intelvbttool
|
||||
CC ?= gcc
|
||||
INSTALL ?= /usr/bin/env install
|
||||
PREFIX ?= /usr/local
|
||||
CFLAGS ?= -O2 -g
|
||||
CFLAGS += -Wall -Werror
|
||||
CFLAGS += -I../../src/commonlib/include -I ../../src/commonlib/bsd/include
|
||||
|
|
@ -17,4 +19,8 @@ clean:
|
|||
|
||||
distclean: clean
|
||||
|
||||
install: $(PROGRAM)
|
||||
$(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
|
||||
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
|
||||
|
||||
.PHONY: all clean distclean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue