27 Commits

Author SHA1 Message Date
Rasmus Villemoes
17e30b3bb2
dfu-util: allow building nativesdk variant
It can be quite useful to include dfu-util along with any other tools
needed for bootstrapping in the SDK.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 15:40:17 -07:00
Michael Opdenacker
6b2b98e52d remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy
b8f5484fd8 dfu-util: upgrade 0.10 -> 0.11
o Fix suffix check regression on Windows with Large File Support
o Skip setting alternate interface when not needed
o Only clamp transfer size on Linux
o Quirk for GD32 leave request
o Improve status and error messages and exit codes
o dfuse: Process all alternate interfaces in a DfuSe file
o dfuse-pack.py: Fix alternate settings if first is 0

2021-09-05 Tormod Volden <debian.tormod@gmail.com>

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:52 -07:00
Khem Raj
58a4c525ac dfu-util-native: Adjust Inherit order
Fixes
dfu-util-native_0.10.bb: QA Issue: dfu-util-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour.  [native-last]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-27 11:06:24 -08:00
zhengruoqin
a7ea60d815 dfu-util: upgrade 0.9 -> 0.10
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 22:42:20 -08:00
Khem Raj
af3fc04cfb dfu-util-native: Remove DEPLOY_DIR_TOOLS from sstate-outputdirs
In commit 1ef92d2423d6d6546e4f0585478540212b26f3a0 deploying the native
tool was changed to use DEPLOYDIR, so setting DEPLOY_DIR_TOOLS for sstate-outputdir
dependency should have been changed as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Jacob Kroon <jacob.kroon@gmail.com>
2020-05-31 22:42:25 -07:00
Khem Raj
a597de10ea dfu-util-native,sjf2410-linux-native: Fix Deploy in multimachine builds
When more than two machine are built using same tmpdir and happen to use
these tools the builds fail

Fixes
ERROR: The recipe dfu-util-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  TOPDIR/build/tmp/deploy/tools/dfu-util-0.9
    (matched in manifest-qemumips-dfu-util-native.deploy)
Please verify which recipe should provide the above files.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:56:59 -08:00
Khem Raj
e135f74f61 dfu-util-native: Dont build static binary
This did serve a purpose in past, this however is adding additional
requirement on build host to require static libc.a. in general it will
be good for user to select static linking explicitly, since it does have
distribution obligations once static linking is in place.

Add packageconfig to enable static builds and keep it off by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin JaMa Jansa <Martin.Jansa@gmail.com>
2019-09-18 12:22:07 -07:00
Khem Raj
d80ed0503f dfu-utils: Switch src_uri to sourceforge.net
dfu-util.gnumonks.org has gone AWOL
Re-stylize the recipe while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-17 20:47:12 -07:00
Stefan Müller-Klieser
1ef92d2423 dfu-utils-native: fix do_deploy sstate handling
We need to install to the sstate input dir and not the output dir, so
sstate handling will work correctly.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-11 07:58:56 -08:00
Huang Qiyu
6dd7d70579 dfu-util: Add HOMEPAGE info into recipe file.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:48 +00:00
Martin Jansa
7ebeb6ba4b dfu-util: upgrade to 0.9
* drop
  commit 0792623dfa8156fb0af3f3949c901665e2df3d04
  Author: Stefan `Sec` Zehl <sec@42.org>
  Date:   Wed Jul 29 01:39:11 2015 +0200

    Fix/reimplement USBPATH support

    Using libusb functions to retrieve port and bus numbers.

    Thanks to Topi Kuutela for reviewing and testing the patch.

    Also thanks to Timo Poikola and Topi Kuutela for having submitted
    alternative patches.

    https://sourceforge.net/p/dfu-util/tickets/6/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-14 12:15:38 +01:00
Martin Jansa
708aca79d3 dfu-util: fix .patch files
* dfu-util-native was broken since last upgrade in:
  commit c2652c90f726fa1728307afad73c3051ca7660f5
  Author: Li xin <lixin.fnst@cn.fujitsu.com>
  Date:   Sun Jan 3 18:07:17 2016 -0800

    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.
  because
  0002-Revert-Makefile.am-Drop-static-dfu-util.patch
  didn't apply anymore.
* update
  0001-configure.ac-Don-t-check-for-usbpath.patch
  to keep check for sysexits.h

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-14 12:15:38 +01:00
Robert Yang
9ba1fa91b9 dfu-util: use BP in SRC_URI
The PN caused multilib do_fetch error.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:36:30 +01:00
Li xin
c2652c90f7 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>
2016-01-06 13:25:50 +01:00
Chris Morgan
edaa1130b6 dfu-util: Point to gitorious.org repository as gnumonks.org is down
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Chris Morgan <chmorgan@gmail.com>
2014-11-24 11:59:48 +01:00
Martin Jansa
d87b8e43d6 dfu-util-native: upgrade to 0.7 and drop 0.4
* fold .inc file into .bb
* add usbpath patch from 0.4 to 0.7, otherwise dfu-util fails to build
  when built after usbpath recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05 12:02:42 +02:00
Martin Jansa
e3bc528b65 dfu-util-0.4: add foreign to AM_INIT_AUTOMAKE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22 00:01:57 +02:00
Richard Purdie
36d57b9234 recipes: add missing pkgconfig class inherits
* These recipes all use pkg-config in some way but were missing
  dependencies on the tool, this patch adds them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
Chris Morgan
12e0e8fb34 dfu-util: Remove svn recipes
* these point at deprecated svn repositories, dfu-util uses git now

Signed-off-by: Chris Morgan <chmorgan@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:30:09 +02:00
Chris Morgan
a810c4c52e dfu-util: Add 0.7 and remove old 0.1 recipe
* dfu-util-0.7 is the latest release of dfu-util

Signed-off-by: Chris Morgan <chmorgan@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:30:09 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Elvis Dowson
99cb797bd8 meta-oe: Fix SRC_URI warnings to use "protocol" not "proto"
This commit updates the SRC_URI for the following recipes to use "protocol"
meta-oe/recipes-devtools/python/python-pyyaml_svn.bb
meta-oe/recipes-navigation/navit/navit_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver_svn.bb
meta-oe/recipes-support/dfu-util/dfu-util_svn.bb
meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c64xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
meta-oe/recipes-support/usbpath/usbpath_svn.bb
meta-oe/recipes-support/wmiconfig/wmiconfig_svn.bb

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:20:01 +02:00
Martin JaMa Jansa
c0ac88e928 dfu-util: add version 0.4
* return dfu-util_static, as static binary is more usefull from deploy dir
  I've tried to build static version with libtool, but in the end this
  is easier and someone can use both shared/static version
* Thanks to GNUtoo for initial recipes
  http://shr-project.org/trac/ticket/1465
* move usbpath dependency to dfu-util_0.1

Signed-off-by: Martin JaMa Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-14 13:18:27 +02:00
Martin Jansa
89500c583e recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
2011-04-10 14:43:41 +02:00