diff mbox series

[2/2] pkg: remove xen-devel for aarch64

Message ID 20170118214604.32498-2-anders.roxell@linaro.org
State New
Headers show
Series [1/2] pkg: add aarch64 support | expand

Commit Message

Anders Roxell Jan. 18, 2017, 9:46 p.m. UTC
Disable xen-devel since it just got available for aarch64 in Fedora 25.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 pkg/dpdk.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-- 
2.11.0
diff mbox series

Patch

diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index a27bdd3b..ad30ecf8 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
 
@@ -109,7 +112,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