From 82524f84116886da2f62178bddd7d1a0699f8d9e Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Fri, 5 Nov 2021 10:34:31 +0100 Subject: Makefile: Make pkg-config mandatory to find libjaylink Use `make HAS_LIBJAYLINK=yes/no` to override the pkg-config detection and `CONFIG_LIBJAYLINK_CFLAGS` and `CONFIG_LIBJAYLINK_LDFLAGS` to set cflags and ldflags manually. Change-Id: I99df547046bb9820ab502f89f6d4452c1bc0cfd4 Signed-off-by: Thomas Heijligen Reviewed-on: https://review.coreboot.org/c/flashrom/+/59048 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- Makefile.include | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Makefile.include') diff --git a/Makefile.include b/Makefile.include index cc76dd846..b81762adc 100644 --- a/Makefile.include +++ b/Makefile.include @@ -104,21 +104,3 @@ int main(int argc, char **argv) } endef export LIBUSB1_TEST - -define LIBJAYLINK_TEST -#include -#include -int main(int argc, char **argv) -{ - struct jaylink_context *ctx; - - (void)argc; - (void)argv; - - jaylink_init(&ctx); - jaylink_exit(ctx); - - return 0; -} -endef -export LIBJAYLINK_TEST -- cgit v1.2.3