We don't have fdt

This commit is contained in:
Lubomir Rintel 2014-02-26 18:09:54 +01:00
parent f58844eafa
commit 43197f83a4

View File

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