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
|
# 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"
|
# 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}
|
%global fedora_build %{baserelease}
|
||||||
|
|
||||||
# base_sublevel is the kernel version we're starting with and patching
|
# 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
|
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
|
||||||
cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
||||||
cp -a scripts $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
|
if [ -d arch/$Arch/scripts ]; then
|
||||||
cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
|
cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
|
||||||
fi
|
fi
|
||||||
@ -2158,6 +2161,9 @@ fi
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%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>
|
* Wed Mar 30 2016 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||||
- Add ARMv7 mvebu fixes headed upstream
|
- Add ARMv7 mvebu fixes headed upstream
|
||||||
- Minor ARMv7 cleanups
|
- Minor ARMv7 cleanups
|
||||||
|
Loading…
Reference in New Issue
Block a user