util/inteltool/Makefile: improve cross-compilation support
Use tool from INSTALL variable to create directory instead of mkdir to be compatible with other cross-compilation buildsystems (like Yocto). Signed-off-by: Maciej Gabryelski <maciej.gabryelski@3mdeb.com> Change-Id: I0b0949d07baae1ae1d7b22ac3d0b8913f81d89c1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70104 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1fc12db95f
commit
9d2902f750
|
@ -77,9 +77,9 @@ pciutils:
|
||||||
@rm -rf .test.c .test .test.dSYM
|
@rm -rf .test.c .test .test.dSYM
|
||||||
|
|
||||||
install: $(PROGRAM)
|
install: $(PROGRAM)
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/sbin
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
|
||||||
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
|
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man8
|
||||||
$(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
|
$(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
|
||||||
|
|
||||||
.PHONY: all clean distclean dep pciutils
|
.PHONY: all clean distclean dep pciutils
|
||||||
|
|
Loading…
Reference in New Issue