diff mbox series

[v4,30/49] tests/tcg: enable building for AArch64

Message ID 20180517174718.10107-31-alex.bennee@linaro.org
State Superseded
Headers show
Series fix building of tests/tcg | expand

Commit Message

Alex Bennée May 17, 2018, 5:46 p.m. UTC
We only have compilers for the (default) little endian variants.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


---
v4
  - update MAINTAINERS
---
 MAINTAINERS                        | 1 +
 tests/tcg/aarch64/Makefile.include | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 tests/tcg/aarch64/Makefile.include

-- 
2.17.0

Comments

Richard Henderson May 17, 2018, 8:26 p.m. UTC | #1
On 05/17/2018 10:46 AM, Alex Bennée wrote:
> We only have compilers for the (default) little endian variants.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> 

> ---

> v4

>   - update MAINTAINERS

> ---

>  MAINTAINERS                        | 1 +

>  tests/tcg/aarch64/Makefile.include | 8 ++++++++

>  2 files changed, 9 insertions(+)

>  create mode 100644 tests/tcg/aarch64/Makefile.include


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>



r~
Philippe Mathieu-Daudé May 18, 2018, 2:57 p.m. UTC | #2
On 05/17/2018 02:46 PM, Alex Bennée wrote:
> We only have compilers for the (default) little endian variants.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


> 

> ---

> v4

>   - update MAINTAINERS

> ---

>  MAINTAINERS                        | 1 +

>  tests/tcg/aarch64/Makefile.include | 8 ++++++++

>  2 files changed, 9 insertions(+)

>  create mode 100644 tests/tcg/aarch64/Makefile.include

> 

> diff --git a/MAINTAINERS b/MAINTAINERS

> index 4e331c4db4..ee7f101890 100644

> --- a/MAINTAINERS

> +++ b/MAINTAINERS

> @@ -136,6 +136,7 @@ L: qemu-arm@nongnu.org

>  S: Maintained

>  F: target/arm/

>  F: tests/tcg/arm/

> +F: tests/tcg/aarch64/

>  F: hw/arm/

>  F: hw/cpu/a*mpcore.c

>  F: include/hw/cpu/a*mpcore.h

> diff --git a/tests/tcg/aarch64/Makefile.include b/tests/tcg/aarch64/Makefile.include

> new file mode 100644

> index 0000000000..de32c91235

> --- /dev/null

> +++ b/tests/tcg/aarch64/Makefile.include

> @@ -0,0 +1,8 @@

> +# Makefile.include for AArch64 targets

> +#

> +# We don't have any bigendian build tools so we only use this for AArch64

> +

> +ifeq ($(TARGET_NAME),aarch64)

> +DOCKER_IMAGE=debian-arm64-cross

> +DOCKER_CROSS_COMPILER=aarch64-linux-gnu-gcc

> +endif

>
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 4e331c4db4..ee7f101890 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -136,6 +136,7 @@  L: qemu-arm@nongnu.org
 S: Maintained
 F: target/arm/
 F: tests/tcg/arm/
+F: tests/tcg/aarch64/
 F: hw/arm/
 F: hw/cpu/a*mpcore.c
 F: include/hw/cpu/a*mpcore.h
diff --git a/tests/tcg/aarch64/Makefile.include b/tests/tcg/aarch64/Makefile.include
new file mode 100644
index 0000000000..de32c91235
--- /dev/null
+++ b/tests/tcg/aarch64/Makefile.include
@@ -0,0 +1,8 @@ 
+# Makefile.include for AArch64 targets
+#
+# We don't have any bigendian build tools so we only use this for AArch64
+
+ifeq ($(TARGET_NAME),aarch64)
+DOCKER_IMAGE=debian-arm64-cross
+DOCKER_CROSS_COMPILER=aarch64-linux-gnu-gcc
+endif