improve the custom option enablement

This commit is contained in:
Pratham Patel 2023-10-01 08:51:10 +05:30
parent 37879aadd5
commit 02eca55b4e
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
./scripts/config --file .config --set-str R8169 'm' ./scripts/config --file .config --enable R8169
# Q: What requires this option to be enabled? # Q: What requires this option to be enabled?
# A: Enabling this option adds support for the Realtek RTL8125 2.5GbE Controller # 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. # that is present on the Radxa Rock 5 Model B SBC, connected via the PCIe bus.

View File

@ -96,6 +96,9 @@ cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
rm -rf kernel-tfg/ rm -rf kernel-tfg/
./configure-linux.sh ./configure-linux.sh
# "remake" the .config since './scripts/config' does not handle dependencies at all
oldconfig
%build %build
source ./configure-linux.sh source ./configure-linux.sh
%{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets} %{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets}