]> git.pld-linux.org Git - packages/flashrom.git/commitdiff
- BR: libftdi-devel auto/th/flashrom-0_9_4-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 16 Aug 2011 18:42:49 +0000 (18:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flashrom.spec -> 1.16

flashrom.spec

index 365ab20d4a18e1c9b2ad791ad7907607badbd6d3..17eb8a25d093f96aa0410c2446501f8a909512de 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without ftdi    # FTDI chips
+#
 Summary:       Tool Flashing your BIOS from the Unix/Linux command line
 Summary(pl.UTF-8):     Narzędzie do aktualizacji BIOS-u z linii poleceń Uniksa/Linuksa
 Name:          flashrom
@@ -8,6 +12,7 @@ Group:         Applications/System
 Source0:       http://download.flashrom.org/releases/%{name}-%{version}.tar.bz2
 # Source0-md5: d739a91aece12cc1e622038bb199541c
 URL:           http://www.flashrom.org/Flashrom
+%{?with_ftdi:BuildRequires:    libftdi-devel}
 BuildRequires: pciutils-devel
 BuildRequires: zlib-devel
 ExclusiveArch: %{ix86} %{x8664} mips ppc ppc64
@@ -79,7 +84,8 @@ BIOS-u / EFI / coreboot / firmware'u.
 %{__make} \
        CC='%{__cc}' \
        CFLAGS="%{rpmcflags}" \
-       LDFLAGS="%{rpmldflags}"
+       LDFLAGS="%{rpmldflags}" \
+       %{!?with_ftdi:CONFIG_FT2232_SPI=no}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.224451 seconds and 4 git commands to generate.