From df8462a26af06a58df1d0913e78552981289a81e Mon Sep 17 00:00:00 2001 From: Trammell hudson Date: Tue, 18 Sep 2018 05:12:47 -0400 Subject: [PATCH] copy gpg2 executables and pass in the libusb include path --- Makefile | 1 + modules/gpg2 | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6b5825e1..7ef063b9 100644 --- a/Makefile +++ b/Makefile @@ -393,6 +393,7 @@ bin_modules-$(CONFIG_PCIUTILS) += pciutils bin_modules-$(CONFIG_FLASHROM) += flashrom bin_modules-$(CONFIG_CRYPTSETUP) += cryptsetup bin_modules-$(CONFIG_GPG) += gpg +bin_modules-$(CONFIG_GPG2) += gpg2 bin_modules-$(CONFIG_LVM2) += lvm2 bin_modules-$(CONFIG_DROPBEAR) += dropbear bin_modules-$(CONFIG_FLASHTOOLS) += flashtools diff --git a/modules/gpg2 b/modules/gpg2 index df79d9d5..96fe3b03 100644 --- a/modules/gpg2 +++ b/modules/gpg2 @@ -13,6 +13,7 @@ gpg2_hash := 401a3e64780fdfa6d7670de0880aa5c9d589b3db7a7098979d7606cec546f2ec # location. gpg2_configure := ./configure \ $(CROSS_TOOLS) \ + CPPFLAGS="-I$(INSTALL)/include/libusb-1.0" \ --host x86_64-linux-musl \ --with-libusb="$(INSTALL)" \ --with-libgpg-error-prefix="$(INSTALL)" \