summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-09-22 17:18:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 11:30:33 +0100
commit82a99a4cee4c63bafe6335897f2adccb5fe2a7c7 (patch)
tree1d0c8018becdbea7adb930a2df0015ab6b2a5b54 /meta/recipes-devtools
parent6f32c9ce082ec1b7e84567c32affbf5fdec4f086 (diff)
downloadpoky-82a99a4cee4c63bafe6335897f2adccb5fe2a7c7.tar.gz
autotools: Remove special handling for autoconf* and automake*
For reasons that are now shrouded in obscurity, autotools.bbclass has long contained a special heuristic to avoid attempting to run autoreconf when building autoconf or automake themselves. However, the wildcard test against PN which is used there is problematic when trying to build another package whose name happens to start with "autoconf", and in any case it is silly to do this test at runtime for every package. The individual recipes for autoconf and automake can just as easily suppress the behaviour that they don't want by providing a custom do_configure() method which just runs configure. (From OE-Core rev: a87db6f8dea71cbb7ead9285ff8af0e28cf75604) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc4
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.69.bb2
-rw-r--r--meta/recipes-devtools/automake/automake.inc4
-rw-r--r--meta/recipes-devtools/automake/automake_1.12.3.bb2
4 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index e80a83410e..315e773748 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -17,6 +17,10 @@ SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
17 17
18inherit autotools 18inherit autotools
19 19
20do_configure() {
21 oe_runconf
22}
23
20do_install_append() { 24do_install_append() {
21 rm -rf ${D}${datadir}/emacs 25 rm -rf ${D}${datadir}/emacs
22 26
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
index 1ec1cb52af..2c4c675645 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
@@ -1,6 +1,6 @@
1require autoconf.inc 1require autoconf.inc
2 2
3PR = "r8" 3PR = "r9"
4 4
5PARALLEL_MAKE = "" 5PARALLEL_MAKE = ""
6 6
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
index 370cacadfc..ae743cc58a 100644
--- a/meta/recipes-devtools/automake/automake.inc
+++ b/meta/recipes-devtools/automake/automake.inc
@@ -9,6 +9,10 @@ SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.gz"
9 9
10inherit autotools 10inherit autotools
11 11
12do_configure() {
13 oe_runconf
14}
15
12export AUTOMAKE = "${@bb.which('automake', d.getVar('PATH', True))}" 16export AUTOMAKE = "${@bb.which('automake', d.getVar('PATH', True))}"
13 17
14FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" 18FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
diff --git a/meta/recipes-devtools/automake/automake_1.12.3.bb b/meta/recipes-devtools/automake/automake_1.12.3.bb
index 25069d72b5..af99dfa2c5 100644
--- a/meta/recipes-devtools/automake/automake_1.12.3.bb
+++ b/meta/recipes-devtools/automake/automake_1.12.3.bb
@@ -42,7 +42,7 @@ SRC_URI += "${PATHFIXPATCH} \
42SRC_URI[md5sum] = "d2af8484de94cdee16d89c50aaa1c729" 42SRC_URI[md5sum] = "d2af8484de94cdee16d89c50aaa1c729"
43SRC_URI[sha256sum] = "095ffaa3ac887d1eb3511bf13d7f1fc9ec0503c6a06aeae05c93730cdda9a5a0" 43SRC_URI[sha256sum] = "095ffaa3ac887d1eb3511bf13d7f1fc9ec0503c6a06aeae05c93730cdda9a5a0"
44 44
45PR = "r0" 45PR = "r1"
46 46
47do_install () { 47do_install () {
48 oe_runmake 'DESTDIR=${D}' install 48 oe_runmake 'DESTDIR=${D}' install