openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kern-devsrc: Drop auto.conf creation
@ 2022-08-09 11:14 Richard Purdie
  2022-08-09 13:16 ` Bruce Ashfield
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2022-08-09 11:14 UTC (permalink / raw)
  To: openembedded-core; +Cc: Bruce Ashfield

After this commit in the mainline kernel, the quoting is different in auto.conf
compared to .config:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=129ab0d2d9f38b9d43df35235fc66c6740d6928b

We therefore can't just copy one over the other or it leads to syntax/quoting
errors. We end up running make prepare anyway in all our tests so drop
this copy for fix 5.19 kernels.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index a38d35e82ae..46d706b955f 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -308,9 +308,6 @@ do_install() {
     # external modules can be built
     touch -r $kerneldir/build/Makefile $kerneldir/build/include/generated/uapi/linux/version.h
 
-    # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
-    cp $kerneldir/build/.config $kerneldir/build/include/config/auto.conf
-
     # make sure these are at least as old as the .config, or rebuilds will trigger
     touch -r $kerneldir/build/.config $kerneldir/build/include/generated/autoconf.h 2>/dev/null || :
     touch -r $kerneldir/build/.config $kerneldir/build/include/config/auto.conf* 2>/dev/null || :
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-09 14:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 11:14 [PATCH] kern-devsrc: Drop auto.conf creation Richard Purdie
2022-08-09 13:16 ` Bruce Ashfield
2022-08-09 13:26   ` Richard Purdie
2022-08-09 13:29     ` Bruce Ashfield
2022-08-09 14:08       ` Richard Purdie
2022-08-09 14:22         ` Bruce Ashfield
2022-08-09 14:26           ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).