forked from rpms/raspberrypi2
mod
This commit is contained in:
parent
a9e37f2f37
commit
4769c857e0
@ -10,7 +10,7 @@ ExclusiveArch: aarch64
|
|||||||
%define armtarget 8
|
%define armtarget 8
|
||||||
|
|
||||||
%define local_version v8
|
%define local_version v8
|
||||||
%define bcmmodel 2712
|
%define bcmmodel 2711
|
||||||
%define ksuffix 6
|
%define ksuffix 6
|
||||||
%define extra_version 1
|
%define extra_version 1
|
||||||
|
|
||||||
@ -87,7 +87,8 @@ including the kernel bootloader.
|
|||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}/" Makefile
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}/" Makefile
|
||||||
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm%{bcmmodel}_defconfig
|
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2711_defconfig
|
||||||
|
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2712_defconfig
|
||||||
|
|
||||||
%if 0%{?rhel} >= 8
|
%if 0%{?rhel} >= 8
|
||||||
# Mangle /usr/bin/python shebangs to /usr/bin/python3
|
# Mangle /usr/bin/python shebangs to /usr/bin/python3
|
||||||
@ -117,7 +118,6 @@ cp -p -v arch/%{Arch}/boot/dts/*.dtb %{buildroot}/usr/share/%{name}-kernel/%{ver
|
|||||||
%endif
|
%endif
|
||||||
cp -p -v arch/%{Arch}/boot/dts/overlays/*.dtb* %{buildroot}/usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays
|
cp -p -v arch/%{Arch}/boot/dts/overlays/*.dtb* %{buildroot}/usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays
|
||||||
cp -p -v arch/%{Arch}/boot/dts/overlays/README %{buildroot}/usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays
|
cp -p -v arch/%{Arch}/boot/dts/overlays/README %{buildroot}/usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays
|
||||||
#scripts/mkknlimg arch/%{Arch}/boot/zImage %{buildroot}/boot/kernel-%{version}-%{release}.img
|
|
||||||
cp -p -v arch/%{Arch}/boot/%{build_image} %{buildroot}/boot/kernel-%{version}-%{release}.img
|
cp -p -v arch/%{Arch}/boot/%{build_image} %{buildroot}/boot/kernel-%{version}-%{release}.img
|
||||||
make INSTALL_MOD_PATH=%{buildroot} modules_install
|
make INSTALL_MOD_PATH=%{buildroot} modules_install
|
||||||
cat > %{buildroot}/boot/config-kernel-%{version}-%{release}.inc <<__EOF__
|
cat > %{buildroot}/boot/config-kernel-%{version}-%{release}.inc <<__EOF__
|
||||||
|
Loading…
Reference in New Issue
Block a user