diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/bitbake.conf | 2 | ||||
-rw-r--r-- | conf/distro/include/eglibc.inc | 11 | ||||
-rw-r--r-- | conf/distro/include/glibc.inc | 11 |
3 files changed, 22 insertions, 2 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 0caa162f67..e711a1f1d2 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -656,8 +656,6 @@ require conf/enterprise.conf # Weak variables (usually to retain backwards compatibility) ################################################################## -OLDEST_KERNEL ?= "2.4.0" - DL_DIR ?= "${TMPDIR}/downloads" IMAGE_FSTYPES ?= "tar.gz" PCMCIA_MANAGER ?= "pcmcia-cs" diff --git a/conf/distro/include/eglibc.inc b/conf/distro/include/eglibc.inc index 0d2087ed4b..04431403e2 100644 --- a/conf/distro/include/eglibc.inc +++ b/conf/distro/include/eglibc.inc @@ -7,3 +7,14 @@ PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" PREFERRED_PROVIDER_virtual/libc = "eglibc" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "eglibc-initial" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc" + +# eglibc is configured for OLDEST_KERNEL kernel version, so we set minimal +# sane versions there + +OLDEST_KERNEL ?= "2.4.0" + +# ARM OABI is fine with 2.4.0, EABI is not, so we override on "-gnueabi" +# TARGET_OS here, not on architecture which is 'arm' in both cases +OLDEST_KERNEL_linux-gnueabi ?= "2.6.16" +OLDEST_KERNEL_sparc64 ?= "2.4.21" +OLDEST_KERNEL_ppc64 ?= "2.4.21" diff --git a/conf/distro/include/glibc.inc b/conf/distro/include/glibc.inc index f9140ffa43..2cb6502322 100644 --- a/conf/distro/include/glibc.inc +++ b/conf/distro/include/glibc.inc @@ -7,3 +7,14 @@ PREFERRED_PROVIDER_virtual/libintl ?= "glibc" PREFERRED_PROVIDER_virtual/libc = "glibc" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "glibc-initial" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc" + +# glibc is configured for OLDEST_KERNEL kernel version, so we set minimal +# sane versions there + +OLDEST_KERNEL ?= "2.4.0" + +# ARM OABI is fine with 2.4.0, EABI is not, so we override on "-gnueabi" +# TARGET_OS here, not on architecture which is 'arm' in both cases +OLDEST_KERNEL_linux-gnueabi ?= "2.6.14" +OLDEST_KERNEL_sparc64 ?= "2.4.21" +OLDEST_KERNEL_ppc64 ?= "2.4.21" |