summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2017-01-18 22:46:03 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-02-07 23:47:07 +0100
commit9f9cb6fe9aea63449039f531ad2420c7ae2d81f1 (patch)
tree30ddbd3f34487704e20085669c3801cafaf14483 /pkg
parent5b243cbab26652027c3848e35fe595025f3622ea (diff)
downloaddpdk-9f9cb6fe9aea63449039f531ad2420c7ae2d81f1.zip
dpdk-9f9cb6fe9aea63449039f531ad2420c7ae2d81f1.tar.gz
dpdk-9f9cb6fe9aea63449039f531ad2420c7ae2d81f1.tar.xz
pkg: support aarch64
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/dpdk.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index 43ff954..a896484 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