[oe] [PATCHv2] avrdude: update SRC_URI and fix deps
Tim Harvey
harvey.tim at gmail.com
Wed Dec 1 17:41:09 UTC 2010
* 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:
--
1.7.0.4
More information about the Openembedded-devel
mailing list