diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2021-10-21 12:58:07 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-12-22 12:30:23 +0000 |
commit | 22e5af78fe1329facee9b843d500dba8385e1d0f (patch) | |
tree | 7a365ba85d09b2220d5142fda1dea35dd7125e00 /Makefile.d | |
parent | 073e205e3bc0542910b7abd3f57b25e125dbcbfb (diff) | |
download | flashrom-22e5af78fe1329facee9b843d500dba8385e1d0f.tar.gz flashrom-22e5af78fe1329facee9b843d500dba8385e1d0f.tar.bz2 flashrom-22e5af78fe1329facee9b843d500dba8385e1d0f.zip |
Makefile: Make pkg-config mandatory to find libftdi1
Use `make HAS_LIBFTDI1=yes/no` to override the pkg-config detection and
`CONFIG_LIBFTDI1_CFLAGS` and `CONFIG_LIBFTDI1_LDFLAGS` to set cflags and
ldflags manually.
Change-Id: I41f5186d9f3e063c12c8c6eea888d0b0bf534259
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58623
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile.d')
-rw-r--r-- | Makefile.d/ft232h_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.d/ft232h_test.c b/Makefile.d/ft232h_test.c new file mode 100644 index 000000000..21bc99589 --- /dev/null +++ b/Makefile.d/ft232h_test.c @@ -0,0 +1,3 @@ +#include <ftdi.h> + +enum ftdi_chip_type type = TYPE_232H;
\ No newline at end of file |