summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2016-08-04 16:52:12 -0500
committerMatthew Barth <msbarth@us.ibm.com>2016-08-04 16:57:33 -0500
commitb522635806018634897697006541a187b1256360 (patch)
tree24b9012a5c8047d8b2d9e6c80e209357188cbf04 /meta-phosphor/common
parent13fe68034c6e132d7cd7fb67f3e2bd1e94ed6165 (diff)
downloadtalos-openbmc-b522635806018634897697006541a187b1256360.tar.gz
talos-openbmc-b522635806018634897697006541a187b1256360.zip
Add autoconf-archive macros for building with autotools
Created recipe to integrate version 2016.03.20 of the autoconf-archive set of macros to provide more robust features building with autotools. Also included deploying these macros into the appropriate host sdk directory. Change-Id: I73063012092c6cd7b0b26ebecec6466bd5196d2e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r--meta-phosphor/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend1
-rw-r--r--meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive.inc16
-rw-r--r--meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb13
3 files changed, 30 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-phosphor/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
new file mode 100644
index 000000000..8f6c2352b
--- /dev/null
+++ b/meta-phosphor/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
@@ -0,0 +1 @@
+RDEPENDS_${PN}_append = "nativesdk-autoconf-archive-dev"
diff --git a/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive.inc b/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive.inc
new file mode 100644
index 000000000..2b5df70be
--- /dev/null
+++ b/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive.inc
@@ -0,0 +1,16 @@
+SUMMARY = "A collection of macros for GNU Autoconf"
+DESCRIPTION = "The autoconf-archive set of macros extend the pre-defined \
+capabilities within the complete autoconf tool set."
+LICENSE = "GPLv3"
+HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
+SECTION = "devel"
+DEPENDS += "m4-native"
+DEPENDS_class-native = "m4-native gnu-config-native"
+DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+RDEPENDS_${PN} = "m4 gnu-config"
+RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
+RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+
+SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
+
+inherit autotools
diff --git a/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb b/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb
new file mode 100644
index 000000000..26f7342a7
--- /dev/null
+++ b/meta-phosphor/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb
@@ -0,0 +1,13 @@
+require autoconf-archive.inc
+
+PARALLEL_MAKE = ""
+
+LICENSE = "GPLv2 & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI[md5sum] = "99c4167b8107189bb6dcb98b09956829"
+SRC_URI[sha256sum] = "88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437"
+
+EXTRA_OECONF += "ac_cv_path_M4=m4"
+
+BBCLASSEXTEND = "native nativesdk"
OpenPOWER on IntegriCloud