[dpdk-dev] [PATCH v6 1/4] build: add support for ARM builds

Bruce Richardson bruce.richardson at intel.com
Mon Jan 22 17:10:32 CET 2018


On Mon, Jan 22, 2018 at 08:56:29PM +0530, Pavan Nikhilesh wrote:
> From: Bruce Richardson <bruce.richardson at intel.com>
> 
> Add files to enable compiling for ARM native/cross builds.
> This can be tested by doing a cross-compile for armv8-a type using
> the linaro gcc toolchain.
> 
>         meson arm-build --cross-file aarch64_cross.txt
>         ninja -C arm-build
> 
> where aarch64_cross.txt contained the following
> 
>         [binaries]
>         c = 'aarch64-linux-gnu-gcc'
>         cpp = 'aarch64-linux-gnu-cpp'
>         ar = 'aarch64-linux-gnu-ar'
> 
>         [host_machine]
>         system = 'linux'
>         cpu_family = 'aarch64'
>         cpu = 'armv8-a'
>         endian = 'little'
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> ---
Set LGTM. No issues in my cross-compilation testing.

I'd appreciate a final Ack from someone more familiar with ARM than me
before applying.

Thanks,
/Bruce


More information about the dev mailing list