Idwer Vollering has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: build fix for FreeBSD ......................................................................
util/superiotool: build fix for FreeBSD
Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering vidwer@gmail.com --- M util/superiotool/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/37768/1
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 2bc88ab..dc47aed 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -60,7 +60,7 @@ endif endif
-all: pciutils $(PROGRAM) +all: $(PROGRAM)
superiotool.o: *.c superiotool.h
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: build fix for FreeBSD ......................................................................
Patch Set 1:
(2 comments)
Thank you for the fix.
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG@7 PS1, Line 7: util/superiotool: build fix for FreeBSD Please use a statement:
Fix build for FreeBSD
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG@8 PS1, Line 8: Please elaborate on the error that is fixed.
Hello Felix Held, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37768
to look at the new patch set (#2).
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
util/superiotool: alter Makefile to build the binary on FreeBSD
With the 'pciutils' target inbetween, the PCI library (-lpci) can not be found even though it is installed.
Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering vidwer@gmail.com --- M util/superiotool/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/37768/2
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
Patch Set 2:
the pciutils target is to detect the presence of the libpci headers and print a message which libraries are probably missing; with this patch the detection/message doesn't get called any more and leaves dead code in the makefile. There is some BSD-specific case in the test tool that's embedded in the makefile (why?!), so without having really looked into that issue, I'd guess that the proper fix would either be fixing the test tool for your platform without or removing the now dead code in the makefile and adding the information to the readme. i'd be ok with both of those
Hello Felix Held, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37768
to look at the new patch set (#3).
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
util/superiotool: alter Makefile to build the binary on FreeBSD
With the 'pciutils' target inbetween, the PCI library (-lpci) can not be found even though it is installed.
Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering vidwer@gmail.com --- M util/superiotool/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/37768/3
Hello Felix Held, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37768
to look at the new patch set (#4).
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
util/superiotool: alter Makefile to build the binary on FreeBSD
Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering vidwer@gmail.com --- M util/superiotool/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/37768/4
Idwer Vollering has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
Patch Set 4:
adding the offending author ;)
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
Patch Set 4: Code-Review+2
this shouldn't break anything on linux, but it would probably be good if someone can verify this before i submit this patch
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
Patch Set 4:
(2 comments)
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG@7 PS1, Line 7: util/superiotool: build fix for FreeBSD
Please use a statement: […]
Done
https://review.coreboot.org/c/coreboot/+/37768/1//COMMIT_MSG@8 PS1, Line 8:
Please elaborate on the error that is fixed.
Done
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/37768 )
Change subject: util/superiotool: alter Makefile to build the binary on FreeBSD ......................................................................
util/superiotool: alter Makefile to build the binary on FreeBSD
Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering vidwer@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/37768 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M util/superiotool/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 2bc88ab..32f4683 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -103,7 +103,7 @@ pciutils: @printf "\nChecking for pciutils and zlib... " @echo "$$LIBPCI_TEST" > .test.c - @$(CC) $(CFLAGS) .test.c -o .test $(LIBS) >/dev/null 2>&1 && \ + @$(CC) $(CFLAGS) .test.c -o .test $(LIBS) $(LDFLAGS) >/dev/null 2>&1 && \ printf "found.\n" || ( printf "not found.\n\n"; \ printf "Please install pciutils-devel and zlib-devel.\n"; \ printf "See README for more information.\n\n"; \