Compare commits
6 Commits
c263aebf3d
...
6b4da949f6
Author | SHA1 | Date |
---|---|---|
Pratham Patel | 6b4da949f6 | |
Pratham Patel | 9cc2875083 | |
Pratham Patel | 81eeed241c | |
Pratham Patel | 674d848065 | |
Pratham Patel | 4ee9b492cc | |
Pratham Patel | 7f47d22c07 |
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
./scripts/config --file .config --enable R8169
|
||||
./scripts/config --file .config --module R8169
|
||||
# Q: What requires this option to be enabled?
|
||||
# A: Enabling this option adds support for the Realtek RTL8125 2.5GbE Controller
|
||||
# that is present on the Radxa Rock 5 Model B SBC, connected via the PCIe bus.
|
||||
|
@ -11,13 +11,3 @@
|
|||
# Kernel driver in use: r8169
|
||||
# Kernel modules: r8169
|
||||
# ```
|
||||
#
|
||||
# Q: Why wasn't this option enabled by `make defconfig`?
|
||||
# A: There are two reasons for this:
|
||||
# 1. None of the symbols that are enabled by the defconfig (built-in or
|
||||
# otherwise)--that are needed by CONFIG_R8169--"select" this option. The
|
||||
# dependencies are already enabled (built-in or otherwise). So all that
|
||||
# needs to be done is to enable this tristate module as a **loadable module**.
|
||||
# 2. Since this Ethernet controller is connected via the PCIe bus and is not
|
||||
# the Ethernet PHY offered by the RK3588 SoC itself, it is not selected
|
||||
# by 'CONFIG_ARCH_ROCKCHIP' either.
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Enabling this option adds support for Rockchip SoCs.
|
||||
./scripts/config --file .config --enable ARCH_ROCKCHIP
|
||||
|
||||
# Enabling this option adds support for Sunxi SoCs.
|
||||
./scripts/config --file .config --enable ARCH_SUNXI
|
|
@ -1,9 +1,8 @@
|
|||
# change version here
|
||||
%global rel_ver 3
|
||||
%global rel_ver 4
|
||||
%global major_ver 6
|
||||
%global minor_ver 1
|
||||
%global patch_ver 57
|
||||
%global target_config defconfig
|
||||
%global kname lts
|
||||
|
||||
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
# change version here
|
||||
%global rel_ver 3
|
||||
%global rel_ver 4
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
%global patch_ver 0
|
||||
%global next_snapshot_date 20231013
|
||||
%global target_config defconfig
|
||||
%global kname next
|
||||
|
||||
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
# change version here
|
||||
%global rel_ver 3
|
||||
%global rel_ver 4
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
%global rc_ver 5
|
||||
%global target_config defconfig
|
||||
%global kname rc
|
||||
|
||||
Version: %{major_ver}.%{minor_ver}.0
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
# change version here
|
||||
%global rel_ver 3
|
||||
%global rel_ver 4
|
||||
%global major_ver 6
|
||||
%global minor_ver 5
|
||||
%global patch_ver 7
|
||||
%global target_config defconfig
|
||||
%global kname stable
|
||||
|
||||
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
||||
|
|
|
@ -35,6 +35,7 @@ Requires: linux-firmware
|
|||
%global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL}
|
||||
|
||||
Source2: https://git.resf.org/thefossguy/kernel-tfg/archive/master.tar.gz
|
||||
Source3: config
|
||||
|
||||
%description
|
||||
The Linux Kernel, the operating system core itself
|
||||
|
@ -94,19 +95,13 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
|
|||
[ -f .config ] && rm -vf .config*
|
||||
%{make} distclean
|
||||
|
||||
%{make} "${EXTRA_LINUX_CONFIG[@]}" %{target_config}
|
||||
cp .config .config.%{target_config}
|
||||
cp %{SOURCE3} .config
|
||||
|
||||
tar -xf %{SOURCE2} -C .
|
||||
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
||||
rm -rf kernel-tfg/
|
||||
./configure-linux.sh
|
||||
|
||||
%if "%{name}" == "*opi5*"
|
||||
sed -i 's@KBUILD_IMAGE := $(boot)/Image.gz@KBUILD_IMAGE := $(boot)/Image@' arch/arm64/Makefile
|
||||
%global make_targets olddefconfig Image modules dtbs
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{make} PYTHON=%{__python3} %{make_targets}
|
||||
|
||||
|
|
Loading…
Reference in New Issue