[dpdk-dev] [PATCH v3 1/2] build: add support for ARM builds

Bruce Richardson bruce.richardson at intel.com
Fri Jan 19 17:24:22 CET 2018


On Fri, Jan 19, 2018 at 07:22:50PM +0530, Pavan Nikhilesh wrote:
> From: Bruce Richardson <bruce.richardson at intel.com>
> 
> Add files to enable compiling for ARM 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>
> ---
>  v3 Changes:
>  - Fix missing SPDX license tags
> 
>  v2 Changes:
>  - Merged RFC patch.
>  - Added framework to easily other vendor specific flags
>  - renamed machine_arg to machine_args
> 
Set LGTM, but it would be nice to get an ACK or review from another ARM
expert. Any volunteers?

/Bruce


More information about the dev mailing list