On 3/22/22 15:41, Prarit Bhargava wrote:
On 3/22/22 15:37, Prarit Bhargava wrote:
<snip>
> Thanks, I had thought that too but :( I get an error when running
> 'make scripts-basic'?
>
> [prarit@prarit kernel-ark]$ make V=1 scripts_basic
> ***
> *** Configuration file ".config" not found!
> ***
> *** Please run some configurator (e.g. "make oldconfig" or
> *** "make menuconfig" or "make xconfig").
> ***
> make: *** [Makefile:711: .config] Error 1
>
> I could have screwed something up though?
Ah nvm, lokoks like you have to have a .config in place before executing
the command. Let me see what I can do about that.
I'm going to try
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index 3444672050c7..ca54ea855e57 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1455,6 +1455,8 @@ for opt in %{clang_make_opts}; do
OPTS="$OPTS -m $opt"
done
%endif
+
+(cd ..; make %{?_smp_mflags} allnoconfig scripts_basic; rm -f .config)
./process_configs.sh $OPTS kernel %{rpmversion}
cp %{SOURCE82} .
to see if that resolves the problem.
P.