diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-03-06 20:58:47 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-08 11:52:56 +0000 |
commit | 9f3246522ccb2138aed86f39d25f8a4f7a489559 (patch) | |
tree | 7f9c4f0f418a98797b95ca78f3d4eefb927eb71b /meta/recipes-bsp | |
parent | fc6c81da79897c95a9c81960a1dee49517f2562a (diff) | |
download | poky-9f3246522ccb2138aed86f39d25f8a4f7a489559.tar.gz |
meta: start to ignore the largefile distro feature
The largefile distro feature has been enabled by default in oe-core
for a long time and, more recently, also in poky-tiny. Building
without the largefile distro feature receives little or no testing.
Many packages now enable LFS without exposing a configure option, so
there should be very little expectation that disabling the distro
feature will result in a distro which globally disables LFS.
Respecting the distro feature adds a maintenance over-head and may be
the source of configurations oddities (e.g. dbus-native currently
builds with LFS disabled for no clear reason - fixed by this commit).
Ignore the largefile distro feature more widely, as a first step
towards deprecating and eventually removing it.
(From OE-Core rev: a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.00.bb | 6 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.00.bb | 6 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_git.bb | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb index e0503013fd..e12f1d773f 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.00.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.00.bb | |||
@@ -31,9 +31,9 @@ inherit deploy | |||
31 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" | 31 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" |
32 | EXTRA_OECONF = "--with-platform=efi --disable-grub-mkfont \ | 32 | EXTRA_OECONF = "--with-platform=efi --disable-grub-mkfont \ |
33 | --enable-efiemu=no --program-prefix='' \ | 33 | --enable-efiemu=no --program-prefix='' \ |
34 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no" | 34 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ |
35 | 35 | --enable-largefile \ | |
36 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" | 36 | " |
37 | 37 | ||
38 | # ldm.c:114:7: error: trampoline generated for nested function 'hook' [-Werror=trampolines] | 38 | # ldm.c:114:7: error: trampoline generated for nested function 'hook' [-Werror=trampolines] |
39 | # and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo) | 39 | # and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo) |
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index 07e1d101b3..c3829381ae 100644 --- a/meta/recipes-bsp/grub/grub_2.00.bb +++ b/meta/recipes-bsp/grub/grub_2.00.bb | |||
@@ -4,9 +4,9 @@ RDEPENDS_${PN} = "diffutils freetype grub-editenv" | |||
4 | PR = "r1" | 4 | PR = "r1" |
5 | 5 | ||
6 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ | 6 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ |
7 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no" | 7 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ |
8 | 8 | --enable-largefile \ | |
9 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" | 9 | " |
10 | 10 | ||
11 | PACKAGES =+ "grub-editenv" | 11 | PACKAGES =+ "grub-editenv" |
12 | 12 | ||
diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 27a5d1f123..0a81e530f4 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb | |||
@@ -27,9 +27,9 @@ GRUBPLATFORM_aarch64 = "efi" | |||
27 | GRUBPLATFORM ??= "pc" | 27 | GRUBPLATFORM ??= "pc" |
28 | 28 | ||
29 | EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-prefix="" \ | 29 | EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-prefix="" \ |
30 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no" | 30 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ |
31 | 31 | --enable-largefile \ | |
32 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" | 32 | " |
33 | 33 | ||
34 | do_install_append () { | 34 | do_install_append () { |
35 | install -d ${D}${sysconfdir}/grub.d | 35 | install -d ${D}${sysconfdir}/grub.d |