diff options
| author | Max Eliaser <max.eliaser@intel.com> | 2014-05-01 13:00:28 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-01 23:17:50 +0100 |
| commit | e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405 (patch) | |
| tree | 5282f0201ed86aa3aab4273233082b3f8ea7a48b | |
| parent | ce1f3fd20d81545d6d5dfc68f86f9fddf8ac9bbf (diff) | |
| download | openembedded-core-e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405.tar.gz openembedded-core-e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405.tar.bz2 openembedded-core-e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405.zip | |
Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.
The class itself currently does nothing. The idea is to mark all recipes that
make use of the texinfo utilities. In the future, this class could be used to
suppress the generation/formatting of documentation for performance,
explicitly track dependencies on these utilities, and eliminate Yocto's
current dependency on the host system's texinfo utilities.
Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
71 files changed, 73 insertions, 73 deletions
diff --git a/meta/classes/texinfo.bbclass b/meta/classes/texinfo.bbclass new file mode 100644 index 0000000000..60cba0f81d --- /dev/null +++ b/meta/classes/texinfo.bbclass @@ -0,0 +1,2 @@ +# This class is inherited by recipes whose upstream packages invoke the +# texinfo utilities at build-time. This class currently does nothing. diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb index 4b43749200..7b49493e3e 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.00.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.00.bb @@ -52,9 +52,7 @@ python __anonymous () { d.setVar("GRUB_IMAGE", grubimage) } -inherit autotools-brokensep -inherit gettext -inherit deploy +inherit autotools-brokensep gettext texinfo deploy CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" EXTRA_OECONF = "--with-platform=efi --disable-grub-mkfont \ diff --git a/meta/recipes-bsp/grub/grub_0.97.bb b/meta/recipes-bsp/grub/grub_0.97.bb index 376244e331..997a045b2e 100644 --- a/meta/recipes-bsp/grub/grub_0.97.bb +++ b/meta/recipes-bsp/grub/grub_0.97.bb @@ -23,7 +23,7 @@ SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \ SRC_URI[md5sum] = "cd3f3eb54446be6003156158d51f4884" SRC_URI[sha256sum] = "4e1d15d12dbd3e9208111d6b806ad5a9857ca8850c47877d36575b904559260b" -inherit autotools +inherit autotools texinfo COMPATIBLE_HOST = "i.86.*-linux" diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index c21031bde1..6075b20bdc 100644 --- a/meta/recipes-bsp/grub/grub_2.00.bb +++ b/meta/recipes-bsp/grub/grub_2.00.bb @@ -33,8 +33,7 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' FILES_${PN}-dbg += "${libdir}/${BPN}/i386-pc/.debug" -inherit autotools -inherit gettext +inherit autotools gettext texinfo PACKAGECONFIG ??= "" PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 114cf77de9..7db3ffd7a8 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb @@ -28,8 +28,7 @@ S = "${WORKDIR}/git" COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' -inherit autotools -inherit gettext +inherit autotools gettext texinfo PACKAGECONFIG ??= "" PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index b9249146a9..debd2a123b 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ PR = "r5" DEPENDS_class-native = "gettext-native" -inherit autotools gettext +inherit autotools gettext texinfo SRC_URI_BASE = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ file://gnulib_m4.patch \ diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb b/meta/recipes-core/coreutils/coreutils_8.22.bb index 8f378145a9..d5373ae9d6 100644 --- a/meta/recipes-core/coreutils/coreutils_8.22.bb +++ b/meta/recipes-core/coreutils/coreutils_8.22.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ DEPENDS = "gmp libcap" DEPENDS_class-native = "" -inherit autotools gettext +inherit autotools gettext texinfo SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ file://remove-usr-local-lib-from-m4.patch \ diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 30654f6d88..3a623bb8c7 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc @@ -38,7 +38,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial libgcc-initial linux-libc-headers #RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}" PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" PROVIDES += "virtual/libintl virtual/libiconv" -inherit autotools +inherit autotools texinfo require eglibc-options.inc LEAD_SONAME = "libc.so" diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index 5725e7fe07..892194c9ce 100644 --- a/meta/recipes-core/gettext/gettext_0.16.1.bb +++ b/meta/recipes-core/gettext/gettext_0.16.1.bb @@ -30,7 +30,7 @@ SRC_URI[sha256sum] = "0bf850d1a079fb5a61f0a47b1a9efd35eb44032255375e1cedb0253bc2 PARALLEL_MAKE = "" -inherit autotools +inherit autotools texinfo EXTRA_OECONF += "--without-lisp --disable-csharp --disable-openmp --without-emacs" acpaths = '-I ${S}/autoconf-lib-link/m4/ \ diff --git a/meta/recipes-core/gettext/gettext_0.18.3.2.bb b/meta/recipes-core/gettext/gettext_0.18.3.2.bb index 553d52223e..65d4103a97 100644 --- a/meta/recipes-core/gettext/gettext_0.18.3.2.bb +++ b/meta/recipes-core/gettext/gettext_0.18.3.2.bb @@ -21,7 +21,7 @@ LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " SRC_URI[md5sum] = "241aba309d07aa428252c74b40a818ef" SRC_URI[sha256sum] = "d1a4e452d60eb407ab0305976529a45c18124bd518d976971ac6dc7aa8b4c5d7" -inherit autotools +inherit autotools texinfo EXTRA_OECONF += "--without-lispdir \ --disable-csharp \ diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index 6c43e2df11..9d78aa9702 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -18,7 +18,7 @@ SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \ S = "${WORKDIR}/${BPN}-${PV}" -inherit autotools +inherit autotools texinfo LEAD_SONAME = "libreadline.so" diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc index 222106a78e..8ed4b134ea 100644 --- a/meta/recipes-devtools/autoconf/autoconf.inc +++ b/meta/recipes-devtools/autoconf/autoconf.inc @@ -29,7 +29,7 @@ RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ file://program_prefix.patch" -inherit autotools +inherit autotools texinfo do_configure() { oe_runconf diff --git a/meta/recipes-devtools/autogen/autogen-native_5.18.2.bb b/meta/recipes-devtools/autogen/autogen-native_5.18.2.bb index 98bdb59792..92e7099f20 100644 --- a/meta/recipes-devtools/autogen/autogen-native_5.18.2.bb +++ b/meta/recipes-devtools/autogen/autogen-native_5.18.2.bb @@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "cc2702dec21ba5b01144865163f6d1a54268d2b72aafc5520ad0e0cb57 DEPENDS = "guile-native libtool-native libxml2-native" -inherit autotools native +inherit autotools texinfo native # autogen-native links against libguile which may have been relocated with sstate # these environment variables ensure there isn't a relocation issue diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc index b73cdeb60b..a1debd8d53 100644 --- a/meta/recipes-devtools/automake/automake.inc +++ b/meta/recipes-devtools/automake/automake.inc @@ -7,7 +7,7 @@ SECTION = "devel" SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.gz" -inherit autotools +inherit autotools texinfo do_configure() { oe_runconf diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 5ab2b92f14..afb582ad67 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -13,7 +13,7 @@ LICENSE = "GPLv3" DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native" -inherit autotools gettext multilib_header +inherit autotools gettext multilib_header texinfo FILES_${PN} = " \ ${bindir}/${TARGET_PREFIX}* \ diff --git a/meta/recipes-devtools/bison/bison_2.3.bb b/meta/recipes-devtools/bison/bison_2.3.bb index a135451162..174916bcb1 100644 --- a/meta/recipes-devtools/bison/bison_2.3.bb +++ b/meta/recipes-devtools/bison/bison_2.3.bb @@ -22,7 +22,7 @@ SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ec DEPENDS_class-native = "gettext-native" SRC_URI_class-native = "${BASE_SRC_URI}" -inherit autotools gettext +inherit autotools gettext texinfo acpaths = "-I ${S}/m4" do_configure_prepend () { diff --git a/meta/recipes-devtools/bison/bison_2.7.1.bb b/meta/recipes-devtools/bison/bison_2.7.1.bb index 1df750a255..4a3ad154db 100644 --- a/meta/recipes-devtools/bison/bison_2.7.1.bb +++ b/meta/recipes-devtools/bison/bison_2.7.1.bb @@ -28,7 +28,7 @@ LDFLAGS_prepend_libc-uclibc = " -lrt " DEPENDS_class-native = "gettext-minimal-native" SRC_URI_class-native = "${BASE_SRC_URI}" -inherit autotools gettext +inherit autotools gettext texinfo acpaths = "-I ${S}/m4" do_install_append_class-native() { diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc index 99447c1540..bcd9ba7590 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc @@ -22,4 +22,4 @@ DEPENDS = "util-linux" SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz \ file://mkdir.patch" -inherit autotools gettext pkgconfig multilib_header +inherit autotools gettext texinfo pkgconfig multilib_header diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc index 75c10ef340..54e4ec3b25 100644 --- a/meta/recipes-devtools/flex/flex.inc +++ b/meta/recipes-devtools/flex/flex.inc @@ -10,7 +10,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \ file://run-ptest \ " -inherit autotools gettext ptest +inherit autotools gettext texinfo ptest M4 = "${bindir}/m4" diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index e56e598b75..0d19575b5a 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -5,7 +5,7 @@ LICENSE = "GPL" NATIVEDEPS = "" -inherit autotools gettext +inherit autotools gettext texinfo BPN = "gcc" diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index 60f03e734e..b4d48809d3 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc @@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" -inherit autotools +inherit autotools texinfo SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ " diff --git a/meta/recipes-devtools/guile/guile_2.0.9.bb b/meta/recipes-devtools/guile/guile_2.0.9.bb index 60318e73cf..b35d54e7d2 100644 --- a/meta/recipes-devtools/guile/guile_2.0.9.bb +++ b/meta/recipes-devtools/guile/guile_2.0.9.bb @@ -29,7 +29,7 @@ SRC_URI[md5sum] = "a69b575d4a633bdd9118f3a4a1e97766" SRC_URI[sha256sum] = "f70a38c8d9751f442679bfe61852bba8545af4d4355d037630997c2f37f2895b" -inherit autotools gettext +inherit autotools gettext texinfo BBCLASSEXTEND = "native" DEPENDS = "libunistring bdwgc gmp libtool libffi" diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc index d26982dc62..9c50d46fe2 100644 --- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc +++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc @@ -33,7 +33,7 @@ do_compile_prepend () { ./config.status } -inherit autotools +inherit autotools texinfo EXTRA_AUTORECONF = "--exclude=libtoolize" DEPENDS = "libtool-native" diff --git a/meta/recipes-devtools/m4/m4.inc b/meta/recipes-devtools/m4/m4.inc index ae101c2b6d..4a83929f0c 100644 --- a/meta/recipes-devtools/m4/m4.inc +++ b/meta/recipes-devtools/m4/m4.inc @@ -3,7 +3,7 @@ DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro process compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." -inherit autotools +inherit autotools texinfo EXTRA_OEMAKE += "'infodir=${infodir}'" LDFLAGS_prepend_libc-uclibc = " -lrt " |
