[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [RISU PATCH 06/10] configure: support CPPFLAGS
From: |
Alex Bennée |
Subject: |
Re: [Qemu-arm] [RISU PATCH 06/10] configure: support CPPFLAGS |
Date: |
Wed, 08 Nov 2017 11:02:50 +0000 |
User-agent: |
mu4e 1.0-alpha0; emacs 26.0.90 |
Dave Martin <address@hidden> writes:
> On Tue, Nov 07, 2017 at 03:05:54PM +0000, Alex Bennée wrote:
>> Useful for accessing API's that are still brewing, e.g:
>>
>> CROSS_PREFIX=aarch64-linux-gnu- \
>> CPPFLAGS=-I/home/alex/lsrc/qemu/risu.git/sve-headers/include \
>> ../configure
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>> ---
>> README | 6 ++++++
>> configure | 1 +
>> 2 files changed, 7 insertions(+)
>>
>> diff --git a/README b/README
>> index 9946e6e..fbe408d 100644
>> --- a/README
>> +++ b/README
>> @@ -26,6 +26,12 @@ Most useful is
>> need this if you're not building on the target system
>> (Example: CROSS_PREFIX=arm-linux-gnueabihf- )
>>
>> +Another useful flag is
>> + CPPFLAGS= which specified pre-processor flags, usually -I statements
>> + for specifying extra include paths. Use this is you need something
>
> s/is/if/
>
>> + from new kernel headers not installed on your system.
>> + (Example: CPPFLAGS=-I/path/to/sve-kernel-headers/include)
>> +
>
> You should probably point out that the path should refer to headers
> installed by running 'make headers_install' in the Linux source. This
> means we really test the uapi headers properly, and I don't get spurious
> bug reports about bad headers ;)
Will do. Thanks.
>
> [...]
>
> Cheers
> ---Dave
--
Alex Bennée
- [Qemu-arm] [RISU PATCH 02/10] risu.c: split out setting up options, (continued)
- [Qemu-arm] [RISU PATCH 02/10] risu.c: split out setting up options, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 01/10] build-all-arches: drop -t (for tty) from docker invocation, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 04/10] risu: move optional args to each architecture, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 09/10] risu_reginfo_aarch64: add reginfo_copy_sve, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 03/10] risu.c: add missing --trace longopt, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 08/10] aarch64.risu: initial SVE instruction, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 06/10] configure: support CPPFLAGS, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 07/10] risugen: add --sve support, Alex Bennée, 2017/11/07
- [Qemu-arm] [RISU PATCH 10/10] risu_reginfo_aarch64: add SVE support to reginfo_dump_mismatch, Alex Bennée, 2017/11/07
- Re: [Qemu-arm] [RISU PATCH 00/10] Initial support for SVE, Dave Martin, 2017/11/08