[oe] [PATCHv2] avrdude: update SRC_URI and fix deps
Tim Harvey
harvey.tim at gmail.com
Thu Dec 9 16:48:10 UTC 2010
On 12/01/2010 09:41 AM, Tim Harvey wrote:
> * SRC_URI updated to new location
> * Makefile.am patched to fix missing dep causing parallel make issue
>
> Signed-off-by: Tim Harvey<harvey.tim at gmail.com>
> ---
> recipes/avrdude/avrdude.inc | 5 ++++-
> recipes/avrdude/avrdude/make.patch | 14 ++++++++++++++
> 2 files changed, 18 insertions(+), 1 deletions(-)
> create mode 100644 recipes/avrdude/avrdude/make.patch
>
> diff --git a/recipes/avrdude/avrdude.inc b/recipes/avrdude/avrdude.inc
> index 679c4ba..4679c7a 100644
> --- a/recipes/avrdude/avrdude.inc
> +++ b/recipes/avrdude/avrdude.inc
> @@ -5,7 +5,10 @@ LICENSE = "GPLv2"
>
> DEPENDS = "virtual/libusb0 ncurses"
>
> -SRC_URI = "http://savannah.nongnu.org/download/avrdude/avrdude-${PV}.tar.gz"
> +SRC_URI = " \
> + http://savannah.nongnu.org/releases/avrdude/avrdude-${PV}.tar.gz \
> + file://make.patch \
> + "
>
> inherit autotools
>
> diff --git a/recipes/avrdude/avrdude/make.patch b/recipes/avrdude/avrdude/make.patch
> new file mode 100644
> index 0000000..30b3b1d
> --- /dev/null
> +++ b/recipes/avrdude/avrdude/make.patch
> @@ -0,0 +1,14 @@
> +fix missing deps causing build failure on parallel make
> +Index: avrdude-5.10/Makefile.am
> +===================================================================
> +--- avrdude-5.10.orig/Makefile.am 2010-12-01 09:17:41.675507203 -0800
> ++++ avrdude-5.10/Makefile.am 2010-12-01 09:17:44.474882497 -0800
> +@@ -155,6 +155,8 @@
> +
> + sysconf_DATA = avrdude.conf
> +
> ++config.c: config_gram.h
> ++
> + install-exec-local: backup-avrdude-conf
> +
> + distclean-local:
can someone ack/nak this? This should get into master if there are no
objections.
Thanks,
Tim
More information about the Openembedded-devel
mailing list