diff mbox series

[v3,28/46] tests/tcg/aarch64: add Makefile.target

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

Commit Message

Alex Bennée April 24, 2018, 3:23 p.m. UTC
Nothing much here yet.

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

---
 tests/tcg/aarch64/Makefile.target | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 tests/tcg/aarch64/Makefile.target

-- 
2.17.0

Comments

Philippe Mathieu-Daudé April 25, 2018, 3:57 a.m. UTC | #1
On 04/24/2018 12:23 PM, Alex Bennée wrote:
> Nothing much here yet.

> 

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

> ---

>  tests/tcg/aarch64/Makefile.target | 5 +++++

>  1 file changed, 5 insertions(+)

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

> 

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

> new file mode 100644

> index 0000000000..4ac8fbe73f

> --- /dev/null

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

> @@ -0,0 +1,5 @@

> +# -*- Mode: makefile -*-

> +#

> +# AArch64 specific tweaks

> +

> +fcvt: LDFLAGS+=-lm

> 


You missed tests/tcg/aarch64/Makefile.include with:

DOCKER_IMAGE=debian-arm64-cross
DOCKER_CROSS_COMPILER=aarch64-linux-gnueabi-gcc
Alex Bennée April 25, 2018, 8:43 a.m. UTC | #2
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> On 04/24/2018 12:23 PM, Alex Bennée wrote:

>> Nothing much here yet.

>>

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

>> ---

>>  tests/tcg/aarch64/Makefile.target | 5 +++++

>>  1 file changed, 5 insertions(+)

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

>>

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

>> new file mode 100644

>> index 0000000000..4ac8fbe73f

>> --- /dev/null

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

>> @@ -0,0 +1,5 @@

>> +# -*- Mode: makefile -*-

>> +#

>> +# AArch64 specific tweaks

>> +

>> +fcvt: LDFLAGS+=-lm

>>

>

> You missed tests/tcg/aarch64/Makefile.include with:

>

> DOCKER_IMAGE=debian-arm64-cross

> DOCKER_CROSS_COMPILER=aarch64-linux-gnueabi-gcc


Doh.. of course I was testing with my cross-compiler and forgot about
this ;-)



--
Alex Bennée
Philippe Mathieu-Daudé April 25, 2018, 2:21 p.m. UTC | #3
On 04/25/2018 05:43 AM, Alex Bennée wrote:
> Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

>> On 04/24/2018 12:23 PM, Alex Bennée wrote:

>>> Nothing much here yet.

>>>

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

>>> ---

>>>  tests/tcg/aarch64/Makefile.target | 5 +++++

>>>  1 file changed, 5 insertions(+)

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

>>>

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

>>> new file mode 100644

>>> index 0000000000..4ac8fbe73f

>>> --- /dev/null

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

>>> @@ -0,0 +1,5 @@

>>> +# -*- Mode: makefile -*-

>>> +#

>>> +# AArch64 specific tweaks

>>> +

>>> +fcvt: LDFLAGS+=-lm

>>>

>>

>> You missed tests/tcg/aarch64/Makefile.include with:

>>

>> DOCKER_IMAGE=debian-arm64-cross

>> DOCKER_CROSS_COMPILER=aarch64-linux-gnueabi-gcc


Err this is not gnueabi, the correct line is:

DOCKER_CROSS_COMPILER=aarch64-linux-gnu-gcc

> 

> Doh.. of course I was testing with my cross-compiler and forgot about

> this ;-)
diff mbox series

Patch

diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile.target
new file mode 100644
index 0000000000..4ac8fbe73f
--- /dev/null
+++ b/tests/tcg/aarch64/Makefile.target
@@ -0,0 +1,5 @@ 
+# -*- Mode: makefile -*-
+#
+# AArch64 specific tweaks
+
+fcvt: LDFLAGS+=-lm