From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Roxell Subject: [PATCH 1/2] pkg: add aarch64 support Date: Wed, 18 Jan 2017 22:46:03 +0100 Message-ID: <20170118214604.32498-1-anders.roxell@linaro.org> Cc: dev@dpdk.org, ricardo.salveti@linaro.org, Anders Roxell To: thomas.monjalon@6wind.com Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 22D60FB11 for ; Wed, 18 Jan 2017 22:46:10 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id f73so808812wmf.1 for ; Wed, 18 Jan 2017 13:46:10 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Anders Roxell --- pkg/dpdk.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index 189cb2f2..a27bdd3b 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 -- 2.11.0