diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-09 11:20:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-09 16:37:24 +0100 |
commit | 8bc77f0dc6a87ada8c57dd1973912fffdf982914 (patch) | |
tree | 7de6480a0e6a9492c9fe618fadfe5cc19fe3d996 /meta | |
parent | da0861915c2c4cbb1db4339bd95e7ba098189c93 (diff) | |
download | poky-8bc77f0dc6a87ada8c57dd1973912fffdf982914.tar.gz |
kern-devsrc: Drop auto.conf creation
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.
(From OE-Core rev: 8edbb540be564cebb72d7af38429405aca662bc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index a38d35e82a..46d706b955 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -308,9 +308,6 @@ do_install() { | |||
308 | # external modules can be built | 308 | # external modules can be built |
309 | touch -r $kerneldir/build/Makefile $kerneldir/build/include/generated/uapi/linux/version.h | 309 | touch -r $kerneldir/build/Makefile $kerneldir/build/include/generated/uapi/linux/version.h |
310 | 310 | ||
311 | # Copy .config to include/config/auto.conf so "make prepare" is unnecessary. | ||
312 | cp $kerneldir/build/.config $kerneldir/build/include/config/auto.conf | ||
313 | |||
314 | # make sure these are at least as old as the .config, or rebuilds will trigger | 311 | # make sure these are at least as old as the .config, or rebuilds will trigger |
315 | touch -r $kerneldir/build/.config $kerneldir/build/include/generated/autoconf.h 2>/dev/null || : | 312 | touch -r $kerneldir/build/.config $kerneldir/build/include/generated/autoconf.h 2>/dev/null || : |
316 | touch -r $kerneldir/build/.config $kerneldir/build/include/config/auto.conf* 2>/dev/null || : | 313 | touch -r $kerneldir/build/.config $kerneldir/build/include/config/auto.conf* 2>/dev/null || : |