SHA256
1
0
forked from pool/acpica

Accepting request 342456 from home:jirislaby:branches:hardware

- add support for kernel 4.3+

OBS-URL: https://build.opensuse.org/request/show/342456
OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=87
This commit is contained in:
2015-11-05 08:59:16 +00:00
committed by Git OBS Bridge
parent b4808ded27
commit a44731629d
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 4 16:49:28 UTC 2015 - jslaby@suse.com
- add support for kernel 4.3+
-------------------------------------------------------------------
Sun Aug 16 13:11:48 UTC 2015 - p.drouand@gmail.com

View File

@@ -78,6 +78,9 @@ make -C acpi_genl CFLAGS="%{optflags}"
make -C wmidump CFLAGS="%{optflags}"
make OPT_CFLAGS="%{optflags}" HOST="_LINUX"
cd acpidump-%{dmp_ver}/tools/power/acpi
if [ -f tools/acpidump/Makefile ]; then # 4.3+
cd tools/acpidump/
fi
make EXTRA_CFLAGS="%{optflags}" prefix=/usr libdir=%{_libdir} all
%install
@@ -95,6 +98,9 @@ make install DESTDIR="%{buildroot}"
# Latest acpidump is coming from kernel and not from acpica sources now.
rm -rf "%{buildroot}"/usr/bin/acpidump
cd acpidump-%{dmp_ver}/tools/power/acpi
if [ -f tools/acpidump/Makefile ]; then # 4.3+
cd tools/acpidump/
fi
export WERROR=0
make V=1 EXTRA_CFLAGS="%{optflags}" mandir=%{_mandir} prefix=/usr libdir=%{_libdir} DESTDIR=%{buildroot} install install-man