summaryrefslogtreecommitdiffstats
path: root/Makefile.include
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-11-05 10:34:31 +0100
committerNico Huber <nico.h@gmx.de>2021-12-22 12:31:07 +0000
commit82524f84116886da2f62178bddd7d1a0699f8d9e (patch)
treeba39875ac048c1f1ed864a3e1633ba5222baa603 /Makefile.include
parent41f20c749ea694305a63cb2f4f4941109e2b8723 (diff)
downloadflashrom-82524f84116886da2f62178bddd7d1a0699f8d9e.tar.gz
flashrom-82524f84116886da2f62178bddd7d1a0699f8d9e.tar.bz2
flashrom-82524f84116886da2f62178bddd7d1a0699f8d9e.zip
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 <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/59048 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile.include')
-rw-r--r--Makefile.include18
1 files changed, 0 insertions, 18 deletions
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 <stddef.h>
-#include <libjaylink/libjaylink.h>
-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