diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-04-06 16:05:29 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-06 11:57:17 +0200 |
commit | 3493f94f1b9d9f3f33f4ffe55abe406ccb2bec83 (patch) | |
tree | 5fde7335e9bddb41136e9ea6abfa187e32fb2024 | |
parent | ea8e27e44d8a82df7e7b88fdade97cc98149dd35 (diff) |
Added support for a few arches
Build scripts now support building for 4 arches:
- x86_64 (using the qemux86-64 machine)
- i686 (using qemux86)
- aarch64 (using qemuarm64)
- armv7a (using newly added qemuarmv7a machine)
-rwxr-xr-x | freedesktop-sdk-build-yocto | 4 | ||||
-rw-r--r-- | meta-freedesktop/conf/machine/qemuarmv7a.conf | 15 |
2 files changed, 18 insertions, 1 deletions
diff --git a/freedesktop-sdk-build-yocto b/freedesktop-sdk-build-yocto index 7ab230f..278a245 100755 --- a/freedesktop-sdk-build-yocto +++ b/freedesktop-sdk-build-yocto @@ -66,8 +66,10 @@ BBLAYERS ?= "${LAYERS}" EOF case "$architecture" in - i686) MACHINE="atom-pc";; + i686) MACHINE="qemux86";; x86_64) MACHINE="qemux86-64";; + aarch64) MACHINE="qemuarm64";; + armv7a) MACHINE="qemuarmv7a";; *) echo "Error: Unhandled architecture '$architecture'"; exit 1;; esac diff --git a/meta-freedesktop/conf/machine/qemuarmv7a.conf b/meta-freedesktop/conf/machine/qemuarmv7a.conf new file mode 100644 index 0000000..db2a689 --- /dev/null +++ b/meta-freedesktop/conf/machine/qemuarmv7a.conf @@ -0,0 +1,15 @@ +#@TYPE: Machine +#@NAME: generic armv7a machine +#@DESCRIPTION: Machine configuration for running a generic armv7a + +require conf/machine/include/arm/arch-armv7a.inc +require conf/machine/include/qemu.inc + +DEFAULTTUNE = "armv7a" + +MACHINE_FEATURES = "" + +KERNEL_IMAGETYPE = "zImage" + +SERIAL_CONSOLES = "115200;ttyAMA0 115200;ttyAMA1" + |