meta: remove redundant ac_cv_sizeof_off_t assignments
ac_cv_sizeof_off_t was previously in the site cache files, which was breaking large file support and required a workaround in each recipe that actually wanted to use large files. Now that the entry has been removed from the site cache, we can remove the workarounds. (From OE-Core rev: 1485d7cae88adb3575c6eaa47784fe50820d2740) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
92759d8662
commit
acc1f968a0
|
@ -33,7 +33,7 @@ EXTRA_OECONF = "--with-platform=efi --disable-grub-mkfont \
|
|||
--enable-efiemu=no --program-prefix='' \
|
||||
--enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
|
||||
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile ac_cv_sizeof_off_t=8', '--disable-largefile', d)}"
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}"
|
||||
|
||||
# ldm.c:114:7: error: trampoline generated for nested function 'hook' [-Werror=trampolines]
|
||||
# and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo)
|
||||
|
|
|
@ -6,7 +6,7 @@ PR = "r1"
|
|||
EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \
|
||||
--enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
|
||||
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile ac_cv_sizeof_off_t=8', '--disable-largefile', d)}"
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${sysconfdir}/grub.d
|
||||
|
|
|
@ -31,7 +31,7 @@ GRUBPLATFORM ??= "pc"
|
|||
EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-prefix="" \
|
||||
--enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
|
||||
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile ac_cv_sizeof_off_t=8', '--disable-largefile', d)}"
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}"
|
||||
|
||||
do_configure_prepend() {
|
||||
( cd ${S}
|
||||
|
|
|
@ -20,8 +20,6 @@ PYTHON_MAJMIN = "2.7"
|
|||
|
||||
inherit autotools
|
||||
|
||||
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--with-threads \
|
||||
--with-pymalloc \
|
||||
|
|
|
@ -35,8 +35,7 @@ inherit autotools multilib_header python-dir pythonnative
|
|||
|
||||
CONFIGUREOPTS += " --with-system-ffi "
|
||||
|
||||
# The following is a hack until we drop ac_cv_sizeof_off_t from site files
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)} ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no"
|
||||
EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no"
|
||||
|
||||
do_configure_append() {
|
||||
rm -f ${S}/Makefile.orig
|
||||
|
|
|
@ -25,8 +25,4 @@ SRC_URI_append_libc-musl = " file://0001-Fix-build-with-musl.patch \
|
|||
SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6"
|
||||
SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b"
|
||||
|
||||
# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
|
||||
# We should ideally drop ac_cv_sizeof_off_t from site files but until then
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
|
||||
|
||||
inherit autotools
|
||||
|
|
|
@ -22,6 +22,5 @@ inherit autotools lib_package pkgconfig
|
|||
do_configure_prepend_arm() {
|
||||
export ac_cv_sys_largefile_source=1
|
||||
export ac_cv_sys_file_offset_bits=64
|
||||
ac_cv_sizeof_off_t=8
|
||||
}
|
||||
|
||||
|
|
|
@ -49,10 +49,6 @@ EXTRA_OECONF = " \
|
|||
--without-nghttp2 \
|
||||
"
|
||||
|
||||
# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
|
||||
# We should ideally drop ac_cv_sizeof_off_t from site files but until then
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
|
||||
|
||||
do_install_append() {
|
||||
oe_multilib_header curl/curlbuild.h
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue