Attention is currently required from: maciej.gabryelski@3mdeb.com, Felix Held.
Hello maciej.gabryelski@3mdeb.com,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/70103
to review the following change.
Change subject: util/superiotool/Makefile : improve cross-compilation support ......................................................................
util/superiotool/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: I9d455f3d1a6d86c88b8e22da825fe14f9630e971 --- M util/superiotool/Makefile 1 file changed, 15 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/70103/1
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 21bd2bc..1f14d0b 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -54,9 +54,9 @@ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJS) $(LIBS)
install: $(PROGRAM) - mkdir -p $(DESTDIR)$(PREFIX)/sbin + $(INSTALL) -d $(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
clean: