diff against the "target_config"

This commit is contained in:
Pratham Patel 2023-10-07 20:00:55 +05:30
parent cdb13364b7
commit 93ea008540
No known key found for this signature in database

View File

@ -92,6 +92,7 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -n -p \
%{make} distclean
%{make} "${EXTRA_LINUX_CONFIG[@]}" %{target_config}
cp .config .config.%{target_config}
tar -xf %{SOURCE2} -C .
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
@ -105,7 +106,7 @@ make olddefconfig
# 0 means no diff /diff [1/4]
# 1 means diff
# 2 means trouble
diff .config .config.old || echo "Diffing done"
diff .config .config.%{target_config} || echo "Diffing done"
%build
%{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets}