Commit Graph

16 Commits

Author SHA1 Message Date
Ross Burton
3000abe20a conf/machine-sdk: declare qemu-usermode SDK_MACHINE_FEATURE
All of our defined SDK machines (which are assumed to be Linux) support
qemu-user, so state this explicitly.

(From OE-Core rev: 12f92772c8ccf622fd353836c1172e15ee8c6857)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-3-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-23 08:46:00 +00:00
Khem Raj
f7830ed8cb machine-sdk: Add SDK_ARCH for riscv64
(From OE-Core rev: b760eb6cf41ba3cb044dc30eca44f7982fa355e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-05 11:28:34 +00:00
Xiaotian Wu
324b03e15f base: add support for loongarch64
(From OE-Core rev: 759baaceb4dd623d5da12ba0d01540fa080154ba)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Richard Purdie
29d98c77f2 conf/sdk/x86-64: Set march specifically
This is really no change since it is currently the default in gcc but
making it explicit matches the other SDKMACHINE configs and means if gcc
ever changes, or we switch compilers, the flag is present. It also makes
it clear from the config which tuning is in use.

(From OE-Core rev: 21c012659a36835837b21b7a2bf1f12428aa16a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Christian Eggers
ab3f69296d machine-sdk: clear ABIEXTENSION for class-crosssdk
For nativesdk/crosssdk, we have no ABIEXTENSION. Fixes build of
rust-crosssdk if ABIEXTENSION is set toe something like "eabi".

(From OE-Core rev: adc1c99abaab3d6046edd3a26dd53a31181f97ca)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Marcus Comstedt
39a6abee37 conf/machine-sdk: Add ppc64 SDK machine
(From OE-Core rev: 1b96a6e7d3a8128892a966afaedfb79f9196b949)

Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Joel Stanley
4d570546fd conf/machine-sdk: Add ppc64le SDK machine
Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9
("bitbake.conf: default SDKMACHINE to the build host architecture")
changed it to default to the build machine, causing the build to
fail on a ppc64le host.

Reported-by: Andrew Geissler <geissonator@yahoo.com>
Link: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04364.html
(From OE-Core rev: c915619b78e0c3e0d73d9de0b85c658c563ed5ba)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Anders Roxell
c1c24bb0c5 conf/machine-sdk: Add aarch64 SDK machine
(From OE-Core rev: fb7a9318211d95d60da848d970f9bef27a7cecf9)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-09 23:47:55 +01:00
Ruslan Bilovol
0e029f75c6 machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now
With glibc upgrade to 2.26 release (commit d6a0bc57fa07
"glibc: Upgrade to 2.26 final release") it's not possible
to build x86/x86_64 SDK for kernels lower than 3.2.0
(see glibc commit 139ace95756a "Require Linux kernel 3.2
or later on x86 / x86_64.")

Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
conf files, so default version 3.2.0 from conf/bitbake.conf
will be picked up.

(From OE-Core rev: 0724896f7a2092abf2f3bafa9fac96c5210d39a5)

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-23 08:47:03 +01:00
Paul Eggleton
2b1cbb43ae classes/nativesdk: set SDK_OLDEST_KERNEL appropriately
SDK_OLDEST_KERNEL currently only controls the check on SDK installation,
however as with OLDEST_KERNEL it should be controlling the OLDEST_KERNEL
value for building glibc used in the SDK. Thus, set it in
nativesdk.bbclass. This means we need to move the default to
bitbake.conf so that it can be seen in both places.

Also set a more reasonable default for SDK_OLDEST_KERNEL for x86/x86-64 as
glibc 2.24 still supports back to 2.6.32 there and there are still
people wanting to build SDKs that will install on older distros (e.g.
CentOS 6). However it's not possible to set this with overrides since
there aren't any for the SDK_ARCH, however we can instead set the variable
from conf files in conf/machine-sdk especially as there is now a soft
default for SDKMACHINE.

Fixes [YOCTO #10561].

(From OE-Core rev: 42d5781e31c5bf76b5b7e27abed4f6f3fd65bf40)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-06 23:35:33 +00:00
Richard Purdie
be873a02ab machine-sdk: Clear ABIEXTENSION to avoid sstate checksum mismatch issues
When switching MACHINE, nativeksdk recipes could end up being rebuilt. Clear
ABIEXTENSION to avoid this problem and ensure sstate checksum consistency.

(From OE-Core rev: 21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-01 21:45:57 +01:00
Richard Purdie
7f2bf08280 eglibc/machine-sdk: Drop SDK_GLIBC_ADDONS
We no longer change GLIBC_ADDONS per target so we no longer need to special
case the SDK settings for it either.

(From OE-Core rev: 3fb0e792600b5adb58bc5fca90d8605c1c76280f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 22:28:04 +01:00
Lianhao Lu
4fbc283c00 eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.
Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not
dependant on the target eglibc's GLIBC_ADDONS settings.

(From OE-Core rev: e165203a6a7eb1fd47a20c3ede4d5a20ad49487f)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03 14:08:02 +01:00
Richard Purdie
8ddb3067e6 Add i686 SDK machine
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-15 13:00:46 +00:00
Richard Purdie
1d4f93e8f6 Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 10:01:33 +01:00