mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
dfu-util: 0.7 -> 0.8
Upgrade dfu-util from 0.7 to 0.8. Modify SRC_URI,since the original one can‘t be opened. Modify 0001-configure.ac-Don-t-check-for-usbpath.patch,since the datas has been changed. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
+3
-3
@@ -5,7 +5,7 @@ Subject: [PATCH 1/2] configure.ac: Don't check for usbpath
|
||||
|
||||
* otherwise it fails to build with -lusb
|
||||
| main.o: In function `resolve_device_path':
|
||||
| dfu-util/0.7-r0/dfu-util-0.7/src/main.c:371: undefined reference to `usb_path2devnum'
|
||||
| dfu-util/0.8-r0/dfu-util-0.8/src/main.c:371: undefined reference to `usb_path2devnum'
|
||||
| collect2: error: ld returned 1 exit status
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
@@ -17,7 +17,7 @@ diff --git a/configure.ac b/configure.ac
|
||||
index 700b556..fb58473 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -22,14 +22,13 @@ AS_IF([test x$native_libusb = xno], [
|
||||
@@ -20,14 +20,13 @@ AS_IF([test x$native_libusb = xno], [
|
||||
PKG_CHECK_MODULES([USB], [libusb-1.0 >= 1.0.0],,
|
||||
AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
|
||||
])
|
||||
@@ -28,7 +28,7 @@ index 700b556..fb58473 100644
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
-AC_CHECK_HEADERS([usbpath.h windows.h])
|
||||
-AC_CHECK_HEADERS([usbpath.h windows.h sysexits.h])
|
||||
+AC_CHECK_HEADERS([windows.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
+3
-5
@@ -4,16 +4,14 @@ AUTHOR = "Harald Welte <laforge@openmoko.org>"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "git://gitorious.org/dfu-util/dfu-util.git \
|
||||
SRC_URI = "http://dfu-util.gnumonks.org/releases/${PN}-${PV}.tar.gz \
|
||||
file://0001-configure.ac-Don-t-check-for-usbpath.patch \
|
||||
"
|
||||
SRCREV="a0a3668e0571a9b007f7d62b01e7dcfd7754ce50"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
DEPENDS = "libusb1"
|
||||
|
||||
SRC_URI[md5sum] = "1de724551604bce1962960b7a301cc08"
|
||||
SRC_URI[sha256sum] = "5d253f924fd29bc13054b664bba9aa86b865299971195969478253c1775b7e56"
|
||||
SRC_URI[md5sum] = "fc6daf6b0ee57d7e40ffa3e8111023d1"
|
||||
SRC_URI[sha256sum] = "55cbde9be12a212bd84bce9d1e63941d9a16139ed0d4912401367eba1502f058"
|
||||
Reference in New Issue
Block a user