We don't have fdt

This commit is contained in:
Lubomir Rintel 2014-02-26 18:09:54 +01:00
parent f58844eafa
commit 43197f83a4
1 changed files with 5 additions and 1 deletions

View File

@ -132,9 +132,13 @@
%endif
# libfdt is only needed to build ARM, Microblaze or PPC emulators
%if 0%{?rhel}
%global need_fdt 0
%else
%if 0%{?system_arm:1}%{?system_microblaze:1}%{?system_ppc:1}
%global need_fdt 1
%endif
%endif
# Xen is available only on i386 x86_64 (from libvirt spec)
%ifnarch %{ix86} x86_64
@ -248,7 +252,7 @@ BuildRequires: bluez-libs-devel
BuildRequires: brlapi-devel
%if 0%{?need_fdt:1}
# For FDT device tree support
BuildRequires: libfdt-devel
#BuildRequires: libfdt-devel
%endif
# For virtfs
BuildRequires: libcap-devel