accidentally got kernel version instead of machine from uname; fixed

This commit is contained in:
Pratham Patel 2023-11-09 21:47:09 +05:30
parent 55549f6891
commit d04d4ddbea
No known key found for this signature in database

View File

@ -574,10 +574,10 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -n -p \
mv COPYING COPYING-%{version}-%{release} mv COPYING COPYING-%{version}-%{release}
# cp %{_sourcedir}/config-$(uname -r) .config # cp %{_sourcedir}/config-$(uname -m) .config
# make savedefconfig # make savedefconfig
# grep -vf %{defconfig} ./defconfig > config-$(uname -r) # grep -vf %{defconfig} ./defconfig > config-$(uname -m)
cp %{_sourcedir}/config-$(uname -r) %{elconfig} cp %{_sourcedir}/config-$(uname -m) %{elconfig}
./scripts/kconfig/merge_config.sh %{defconfig} %{elconfig} ./scripts/kconfig/merge_config.sh %{defconfig} %{elconfig}
# Set the EXTRAVERSION string in the top level Makefile. # Set the EXTRAVERSION string in the top level Makefile.