Make sure to install objtool in -devel subpackage if it exists (rhbz 1321628)
This commit is contained in:
parent
5d5ef9251e
commit
803c5b964d
@ -42,7 +42,7 @@ Summary: The Linux kernel
|
||||
# For non-released -rc kernels, this will be appended after the rcX and
|
||||
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
|
||||
#
|
||||
%global baserelease 1
|
||||
%global baserelease 3
|
||||
%global fedora_build %{baserelease}
|
||||
|
||||
# base_sublevel is the kernel version we're starting with and patching
|
||||
@ -1454,6 +1454,9 @@ BuildKernel() {
|
||||
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
|
||||
cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
||||
cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
||||
if [ -f tools/objtool/objtool ]; then
|
||||
cp -a tools/objtool/objtool $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || :
|
||||
fi
|
||||
if [ -d arch/$Arch/scripts ]; then
|
||||
cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
|
||||
fi
|
||||
@ -2158,6 +2161,9 @@ fi
|
||||
#
|
||||
#
|
||||
%changelog
|
||||
* Wed Mar 30 2016 Josh Boyer <jwboyer@fedoraproject.org>
|
||||
- Make sure to install objtool in -devel subpackage if it exists (rhbz 1321628)
|
||||
|
||||
* Wed Mar 30 2016 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||
- Add ARMv7 mvebu fixes headed upstream
|
||||
- Minor ARMv7 cleanups
|
||||
|
Loading…
Reference in New Issue
Block a user