mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
autotools-brokensep: Mark recipes with broken separate build dir support
This patch goes through the OE-Core recipes and marks those which use autotools
but don't support a separate build directory (${S} != ${B}). A new class,
autotools-brokensep is used for this purpose.
This doesn't introduce any change in behaviour in its own right.
(From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -19,7 +19,7 @@ SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz
|
||||
file://cmake-2.8.11.2-FindFreetype.patch \
|
||||
"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
do_configure () {
|
||||
./configure --prefix=${prefix}
|
||||
|
||||
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"
|
||||
DEPENDS += "tcl"
|
||||
RDEPENDS_${PN} = "tcl"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
|
||||
file://0001-configure.in.patch \
|
||||
|
||||
@@ -13,7 +13,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
|
||||
--without-tcltk \
|
||||
"
|
||||
|
||||
inherit autotools perlnative
|
||||
inherit autotools-brokensep perlnative
|
||||
|
||||
EXTRA_OEMAKE = "NO_PYTHON=1 RUNTIME_PREFIX=1"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "2c5c7a418e5eb3268f65e21993277fba"
|
||||
SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"
|
||||
|
||||
inherit autotools allarch perlnative
|
||||
inherit autotools-brokensep allarch perlnative
|
||||
|
||||
do_configure_append() {
|
||||
# Make sure we use our nativeperl wrapper.
|
||||
|
||||
@@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "7103facee18a2ea97186ca459d743d22f7f89ad4b5cd1dfd1c34f83d6b
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/linuxdoc-tools-native/"
|
||||
|
||||
inherit autotools native
|
||||
inherit autotools-brokensep native
|
||||
|
||||
do_configure () {
|
||||
oe_runconf
|
||||
|
||||
@@ -20,7 +20,7 @@ CFLAGS += "-fno-stack-protector"
|
||||
CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
|
||||
EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
do_install_append() {
|
||||
rmdir ${D}${datadir}/mkelfImage/elf32-i386
|
||||
|
||||
@@ -9,7 +9,7 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 "
|
||||
SRC_URI[md5sum] = "4cd558047ea5ed51fc2c7c94e249c7b8"
|
||||
SRC_URI[sha256sum] = "1ce7e897c67255a195367a60c739a90a0b33a4a73f058f7cda3253bcf975642b"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
do_configure_prepend () {
|
||||
if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then
|
||||
|
||||
@@ -22,7 +22,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
|
||||
SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e"
|
||||
SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1"
|
||||
|
||||
inherit autotools native
|
||||
inherit autotools-brokensep native
|
||||
|
||||
EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
|
||||
--enable-splibdir=${STAGING_LIBDIR}"
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a3
|
||||
|
||||
PYTHON_MAJMIN = "2.7"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
PYTHONLSBOPTS = "--with-wctype-functions"
|
||||
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
|
||||
|
||||
@@ -9,7 +9,7 @@ RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
|
||||
RDEPENDS_${PN}_class-target += "bash python"
|
||||
|
||||
require qemu-targets.inc
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# QEMU_TARGETS is overridable variable
|
||||
|
||||
@@ -13,7 +13,7 @@ SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
|
||||
SRC_URI[md5sum] = "24417eba5961592b64103bdda001ebf4"
|
||||
SRC_URI[sha256sum] = "1eec0a270ac4d41eea0fd5823603c9d2a35ab6b8ab73a90dd92ce1291b2a9fc3"
|
||||
|
||||
inherit autotools ptest
|
||||
inherit autotools-brokensep ptest
|
||||
|
||||
EXTRA_OECONF_darwin += "--without-date \
|
||||
--without-getopt \
|
||||
|
||||
@@ -12,7 +12,7 @@ INC_PR = "r1"
|
||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||
|
||||
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
|
||||
inherit autotools
|
||||
inherit autotools-brokensep
|
||||
|
||||
EXTRA_OECONF = "--disable-vapigen"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user