rebuilt after configuration fixes [release 4.14.79.20181112-2mamba;Mon Dec 10 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 01:27:45 +01:00
parent 7b8f37b548
commit 18b85c542a
3 changed files with 2922 additions and 1111 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
# #
#% define kernel_ver %(echo %version | cut -d. -f1-3) #% define kernel_ver %(echo %version | cut -d. -f1-3)
%define kernel_ver 4.4.38 %define kernel_ver %(echo %version | cut -d. -f1-3)
%define kernel_majver %(echo %version | cut -d. -f1-2) %define kernel_majver %(echo %version | cut -d. -f1-2)
%define gitdirver 1.%(echo %version | cut -d. -f4) %define gitdirver 1.%(echo %version | cut -d. -f4)
@ -63,8 +63,8 @@
%define _use_internal_dependency_generator 1 %define _use_internal_dependency_generator 1
Name: kernel-rpi Name: kernel-rpi
Version: 4.4.38.20161215 Version: 4.14.79.20181112
Release: 1mamba Release: 2mamba
Summary: The Linux Kernel, the operating system core itself for the RaspberryPI Summary: The Linux Kernel, the operating system core itself for the RaspberryPI
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
@ -88,6 +88,7 @@ BuildRequires: mkbootimg
Provides: kernel Provides: kernel
Requires(post): dracut Requires(post): dracut
Requires: linux_firmware Requires: linux_firmware
Requires: raspberrypi-firmware
BuildRoot: %{_tmppath}/%{name}-build BuildRoot: %{_tmppath}/%{name}-build
%description %description
@ -199,7 +200,7 @@ Firmware files used by the Linux Kernel.
%prep %prep
%setup -q -n linux-%{version} %setup -q -n linux-%{version}
#-D -T #-D -T
#:<< ___EOF #:<< _EOF
%if "%{?KERNEL_TARGET}" == "" %if "%{?KERNEL_TARGET}" == ""
echo "No target specified, aborting." echo "No target specified, aborting."
exit 1 exit 1
@ -231,7 +232,7 @@ sed -i "s/\(EXTRAVERSION =.*\)/\1-%{?KERNEL_TARGET}/" Makefile
pngtopnm %{SOURCE20} | ppmquant -plain 224 > drivers/video/logo/logo_linux_clut224.ppm pngtopnm %{SOURCE20} | ppmquant -plain 224 > drivers/video/logo/logo_linux_clut224.ppm
%build %build
#:<< ___EOF #:<< _EOF
# #
# build kernel for given target # build kernel for given target
# #
@ -258,9 +259,9 @@ cp %{KIMAGE} %{buildroot}/boot/%{KIMAGE_DEST}-%{kernel_ver}-%{?KERNEL_TARGET}
cp System.map %{buildroot}/boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET} cp System.map %{buildroot}/boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET}
# install dtbs # install dtbs
cp arch/arm/boot/dts/*.dtb %{buildroot}/boot/ #cp arch/arm/boot/dts/*.dtb %{buildroot}/boot/
install -d -m0755 %{buildroot}/boot/overlays/ #install -d -m0755 %{buildroot}/boot/overlays/
cp arch/arm/boot/dts/overlays/*.dtb* %{buildroot}/boot/overlays/ #cp arch/arm/boot/dts/overlays/*.dtb* %{buildroot}/boot/overlays/
#cp arch/arm/boot/dts/overlays/README %{buildroot}/boot/overlays/ #cp arch/arm/boot/dts/overlays/README %{buildroot}/boot/overlays/
# recreate kernel sources # recreate kernel sources
@ -356,6 +357,9 @@ if [ "%{_build}" != "%{_target_platform}" ]; then
done done
fi fi
rm -f %{buildroot}%{_prefix}/src/linux-%{kernel_ver}-%{KERNEL_TARGET}/{.cocciconfig,.gitattributes}
rm -rf %{buildroot}%{_prefix}/src/linux-%{kernel_ver}-%{KERNEL_TARGET}/.github
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -405,8 +409,8 @@ exit 0
%defattr (-, root, root) %defattr (-, root, root)
/boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET} /boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET}
/boot/%{KIMAGE_DEST}-%{kernel_ver}-%{?KERNEL_TARGET} /boot/%{KIMAGE_DEST}-%{kernel_ver}-%{?KERNEL_TARGET}
/boot/*.dtb* #/boot/*.dtb*
/boot/overlays/*.dtb* #/boot/overlays/*.dtb*
%files -n kernel-%{KERNEL_TARGET}-source -f kernel-source.files %files -n kernel-%{KERNEL_TARGET}-source -f kernel-source.files
%defattr(-,root,root) %defattr(-,root,root)
@ -414,7 +418,6 @@ exit 0
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/Documentation /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/Documentation
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/certs /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/certs
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/init /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/init
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/REPORTING-BUGS
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/gen_init_cpio.c /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/gen_init_cpio.c
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/initramfs_data*.S /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/initramfs_data*.S
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/Kconfig /usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/Kconfig
@ -461,12 +464,18 @@ exit 0
%dir /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel %dir /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel
/lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel/* /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel/*
%files -n kernel-%{KERNEL_TARGET}-firmware #%files -n kernel-%{KERNEL_TARGET}-firmware
%defattr (-, root, root) #%defattr (-, root, root)
%dir /lib/firmware #%dir /lib/firmware
/lib/firmware/* #/lib/firmware/*
%changelog %changelog
* Mon Dec 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.79.20181112-2mamba
- rebuilt after configuration fixes
* Sun Dec 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.79.20181112-1mamba
- update to 4.14.79.20181112
* Fri Feb 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.38.20161215-1mamba * Fri Feb 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.38.20161215-1mamba
- update to 4.4.38.20161215 - update to 4.4.38.20161215