From: Anders Roxell Date: Wed, 18 Jan 2017 21:46:03 +0000 (+0100) Subject: pkg: support aarch64 X-Git-Tag: spdx-start~4587 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9f9cb6fe9aea63449039f531ad2420c7ae2d81f1;p=dpdk.git pkg: support aarch64 Signed-off-by: Anders Roxell --- diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index 43ff9548b3..a896484c16 100644 --- a/pkg/dpdk.spec +++ b/pkg/dpdk.spec @@ -40,10 +40,16 @@ Summary: Data Plane Development Kit core Group: System Environment/Libraries License: BSD and LGPLv2 and GPLv2 -ExclusiveArch: i686, x86_64 +ExclusiveArch: i686 x86_64 aarch64 +%ifarch aarch64 +%global machine armv8a +%global target arm64-%{machine}-linuxapp-gcc +%global config arm64-%{machine}-linuxapp-gcc +%else %global machine default %global target %{_arch}-%{machine}-linuxapp-gcc %global config %{_arch}-native-linuxapp-gcc +%endif BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel BuildRequires: doxygen, python-sphinx, inkscape