[rtems-source-builder commit] bare/libusb: Fix the configuration and add a hash
Chris Johns
chrisj at rtems.org
Wed Aug 12 01:40:31 UTC 2020
Module: rtems-source-builder
Branch: 5
Commit: 4da24fb49033dbdade66f49e53cf5c6edafa900e
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=4da24fb49033dbdade66f49e53cf5c6edafa900e
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Aug 11 11:36:47 2020 +1000
bare/libusb: Fix the configuration and add a hash
Updates #4014
---
bare/config/devel/libusb-1.0.18-1.cfg | 3 +++
source-builder/config/libusb-1-1.cfg | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bare/config/devel/libusb-1.0.18-1.cfg b/bare/config/devel/libusb-1.0.18-1.cfg
index b47855b..494afbe 100644
--- a/bare/config/devel/libusb-1.0.18-1.cfg
+++ b/bare/config/devel/libusb-1.0.18-1.cfg
@@ -15,6 +15,9 @@ Name: libusb-%{libusb_version}-%{_host}-%{release}
%description
LibUSB for host %{_host}.
+%hash sha512 libusb-%{libusb_version}.tar.bz2 \
+ u8PXXLkfTmoCRUnCusOO6FrtqFKaRVP9NryOilwiPNieuVLtpx/MAHHWxsgYoGMdTMoIT+1p1Jhu7l3PmofWYg==
+
#
# The Libuxb build instructions. We use 1.xx Release 1.
#
diff --git a/source-builder/config/libusb-1-1.cfg b/source-builder/config/libusb-1-1.cfg
index 4b250a3..803f326 100644
--- a/source-builder/config/libusb-1-1.cfg
+++ b/source-builder/config/libusb-1-1.cfg
@@ -33,8 +33,10 @@ URL: http://libusb.org/
cd libusb-%{libusb_version}
%if "%{_build}" != "%{_host}"
- CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+ LIBUSB_CFLAGS_FOR_BUILD="-g -O2 -Wall"
%endif
+
+ CFLAGS_FOR_BUILD=${LIBUSB_CFLAGS_FOR_BUILD} \
CFLAGS="$SB_CFLAGS" \
./configure \
--build=%{_build} --host=%{_host} \
More information about the vc
mailing list