summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2017-01-18 22:46:04 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-02-07 23:47:42 +0100
commit90816e2c45e3d21984cbb428d5dc8b7650e7fcbf (patch)
tree7a117363d223e4d21e678747d7f2b2573ac7ba65 /pkg
parent9f9cb6fe9aea63449039f531ad2420c7ae2d81f1 (diff)
downloaddpdk-90816e2c45e3d21984cbb428d5dc8b7650e7fcbf.zip
dpdk-90816e2c45e3d21984cbb428d5dc8b7650e7fcbf.tar.gz
dpdk-90816e2c45e3d21984cbb428d5dc8b7650e7fcbf.tar.xz
pkg: remove xen-devel for aarch64
Disable xen-devel since it just got available for aarch64 in Fedora 25. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/dpdk.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index a896484..56d897b 100644
--- a/pkg/dpdk.spec
+++ b/pkg/dpdk.spec
@@ -51,7 +51,10 @@ ExclusiveArch: i686 x86_64 aarch64
%global config %{_arch}-native-linuxapp-gcc
%endif
-BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
+BuildRequires: kernel-devel, kernel-headers, libpcap-devel
+%ifarch i686 x86_64
+BuildRequires: xen-devel
+%endif
BuildRequires: doxygen, python-sphinx, inkscape
BuildRequires: texlive-collection-latexextra
@@ -87,7 +90,9 @@ sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config
sed -ri 's,(RTE_NEXT_ABI=).*,\1n,' %{target}/.config
sed -ri 's,(LIBRTE_VHOST=).*,\1y,' %{target}/.config
sed -ri 's,(LIBRTE_PMD_PCAP=).*,\1y,' %{target}/.config
+%ifarch i686 x86_64
sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\1y,' %{target}/.config
+%endif
make O=%{target} %{?_smp_mflags}
make O=%{target} doc