Skip to contentSkip to conversation

avrdude: update SRC_URI and fix deps

PATCH In review Tim Harvey 2 participants 3 messages Dec 1, 2010 – Dec 9, 2010

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH v2 1/1 avrdude: update SRC_URI and fix deps

* SRC_URI updated to new location
* Makefile.am patched to fix missing dep causing parallel make issue

---
 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
recipes/avrdude/avrdude.inc +4 -1
index 679c4ba..4679c7a 100644
@@ -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
 
recipes/avrdude/avrdude/make.patch new file +14 -0
new file mode 100644
index 0000000..30b3b1d
@@ -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:
Signature · 1 line
1.7.0.4
author
#1 lore raw
Quoted 36 lines · Tim Harvey

* SRC_URI updated to new location
* Makefile.am patched to fix missing dep causing parallel make issue

---
  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

recipes/avrdude/avrdude.inc +4 -1
index 679c4ba..4679c7a 100644
@@ -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
 
recipes/avrdude/avrdude/make.patch new file +4 -0
new file mode 100644
index 0000000..30b3b1d
@@ -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

recipes/avrdude/avrdude/make.patch line 14

Quoted 10 lines
recipes/avrdude/avrdude/make.patch new file +10 -0
++++ 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

Acked-by
#2 lore raw
Quoted 42 lines · Tim Harvey
Quoted 41 lines · Tim Harvey

* SRC_URI updated to new location
* Makefile.am patched to fix missing dep causing parallel make issue

---
  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

recipes/avrdude/avrdude.inc +4 -1
index 679c4ba..4679c7a 100644
@@ -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
 
recipes/avrdude/avrdude/make.patch new file +9 -0
new file mode 100644
index 0000000..30b3b1d
@@ -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
+
Quoted 8 lines

recipes/avrdude/avrdude/make.patch line 14

Quoted 5 lines
recipes/avrdude/avrdude/make.patch new file +5 -0
++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.

Yeah, looks fine to me.

p.