diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-07-28 16:49:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 08:46:19 +0100 |
commit | 3582f6fc011482f3e9a05592226e3c0ee09f2943 (patch) | |
tree | 684e3f91b05765e281f28633b4c92b491295af9c | |
parent | ae38bfe2cd7da3d930e1cbe376ebe92d79ff1b28 (diff) | |
download | poky-3582f6fc011482f3e9a05592226e3c0ee09f2943.tar.gz |
autoconf-archive: simplify and fix recipe
The COPYING file specifies pure GPLv3, not GPLv2 & GPLv3. There is
also the COPYING.EXCEPTION file with the autotools exception, which
gets ignored here in the recipe to keep it simpler.
All of the explicit dependencies seem unnecessary, and RDEPENDS_${PN}
doesn't do anything for native recipes either, so all of that gets
removed.
It also built fine without the m4 and parallel build workarounds.
There's no need to have a separate .inc file.
(From OE-Core rev: 5002004b891895654cbad53555ee46e2ed188630)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/autoconf-archive/autoconf-archive.inc | 13 | ||||
-rw-r--r-- | meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb | 14 |
2 files changed, 7 insertions, 20 deletions
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc deleted file mode 100644 index 4f63e0f51f..0000000000 --- a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | LICENSE = "GPLv3" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/" | ||
3 | SECTION = "devel" | ||
4 | |||
5 | DEPENDS += "m4-native" | ||
6 | DEPENDS_class-native = "m4-native gnu-config-native" | ||
7 | DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk" | ||
8 | |||
9 | RDEPENDS_${PN} = "m4 gnu-config" | ||
10 | |||
11 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz" | ||
12 | |||
13 | inherit autotools | ||
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb index 0a1a771d15..d77c37d739 100644 --- a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb | |||
@@ -1,13 +1,13 @@ | |||
1 | require autoconf-archive.inc | 1 | SUMMARY = "a collection of freely re-usable Autoconf macros" |
2 | 2 | HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/" | |
3 | 3 | SECTION = "devel" | |
4 | PARALLEL_MAKE = "" | 4 | LICENSE = "GPLv3" |
5 | |||
6 | LICENSE = "GPLv2 & GPLv3" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
8 | 6 | ||
7 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz" | ||
9 | SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071" | 8 | SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071" |
10 | SRC_URI[sha256sum] = "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82" | 9 | SRC_URI[sha256sum] = "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82" |
11 | 10 | ||
12 | EXTRA_OECONF += "ac_cv_path_M4=m4" | 11 | inherit autotools |
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | 13 | BBCLASSEXTEND = "native nativesdk" |