forked from pool/coreboot-utils
Accepting request 83170 from hardware
- Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build (forwarded request 83129 from jengelh) OBS-URL: https://build.opensuse.org/request/show/83170 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreboot-utils?expand=0&rev=11
This commit is contained in:
commit
4de3c5c5b0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 23:52:47 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 9 22:11:02 CET 2010 - stepan@coresystems.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package coreboot-utils (Version r6158)
|
||||
# spec file for package coreboot-utils
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: coreboot-utils
|
||||
@ -40,10 +39,6 @@ coreboot utilities are a comprehensive set of tools to work with coreboot.
|
||||
Currently it includes:
|
||||
* nvramtool - a tool to set CMOS variables
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Stefan Reinauer <stepan@coresystems.de> et al.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
@ -52,7 +47,7 @@ Authors:
|
||||
|
||||
%build
|
||||
cd nvramtool
|
||||
make %{?jobs:-j%jobs} \
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
|
||||
LDFLAGS="-lpci -lz"
|
||||
strip nvramtool
|
||||
@ -66,29 +61,29 @@ strip inteltool
|
||||
gzip inteltool.8
|
||||
|
||||
cd ../superiotool
|
||||
make %{?jobs:-j%jobs} \
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="$RPM_OPT_FLAGS -Os -Wall -DPCI_SUPPORT" \
|
||||
LDFLAGS="-lpci -lz"
|
||||
strip superiotool
|
||||
gzip superiotool.8
|
||||
|
||||
cd ../ectool
|
||||
make %{?jobs:-j%jobs} \
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
|
||||
LDFLAGS="-lpci -lz"
|
||||
strip ectool
|
||||
|
||||
cd ../msrtool
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
strip msrtool
|
||||
|
||||
cd ../k8resdump
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
strip k8resdump
|
||||
|
||||
cd ../cbfstool
|
||||
make %{?jobs:-j%jobs} \
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
|
||||
CXXFLAGS="$RPM_OPT_FLAGS -Os -Wall -DCOMPACT"
|
||||
|
||||
@ -140,9 +135,6 @@ cd ../cbfstool
|
||||
install -m 0755 cbfstool $RPM_BUILD_ROOT/%{_bindir}
|
||||
cp EXAMPLE EXAMPLE.cbfstool
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc nvramtool/COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user