* [Buildroot] [PATCH] support/kconfig: fix linux header path
@ 2024-10-29 11:30 Cherniaev Andrei
2024-10-29 17:11 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Cherniaev Andrei @ 2024-10-29 11:30 UTC (permalink / raw)
To: buildroot; +Cc: Cherniaev Andrei, Petr Vorel
Usually you will never have "/usr/src/linux"... For example on my Ubuntu 24 I have "/usr/src/linux-headers-6.8.0-47-generic". My change makes path universal.
---
support/kconfig/README.buildroot | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/kconfig/README.buildroot b/support/kconfig/README.buildroot
index 76808f85b4..c08970c87e 100644
--- a/support/kconfig/README.buildroot
+++ b/support/kconfig/README.buildroot
@@ -2,7 +2,7 @@ This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked
to suit Buildroot.
To update:
- cp -r /usr/src/linux/scripts/kconfig support/kconfig.new
+ cp -r /usr/src/linux-headers-$(uname -r)/scripts/kconfig support/kconfig.new
cd support/kconfig.new
# zconf.lex.c and zconf.tab.c needs to be generated by 'make menuconfig'
mv zconf.lex.c zconf.lex.c_shipped
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] support/kconfig: fix linux header path
2024-10-29 11:30 [Buildroot] [PATCH] support/kconfig: fix linux header path Cherniaev Andrei
@ 2024-10-29 17:11 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-29 17:11 UTC (permalink / raw)
To: Cherniaev Andrei; +Cc: buildroot, Petr Vorel
Hello,
On Tue, 29 Oct 2024 20:30:51 +0900
Cherniaev Andrei <dungeonlords789@naver.com> wrote:
> Usually you will never have "/usr/src/linux"... For example on my Ubuntu 24 I have "/usr/src/linux-headers-6.8.0-47-generic". My change makes path universal.
Thanks for your patch. However, it cannot be applied as you did not
Signed-off-by on your patch.
Also, please wrap your commit message to 80 columns.
> diff --git a/support/kconfig/README.buildroot b/support/kconfig/README.buildroot
> index 76808f85b4..c08970c87e 100644
> --- a/support/kconfig/README.buildroot
> +++ b/support/kconfig/README.buildroot
> @@ -2,7 +2,7 @@ This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked
> to suit Buildroot.
>
> To update:
> - cp -r /usr/src/linux/scripts/kconfig support/kconfig.new
> + cp -r /usr/src/linux-headers-$(uname -r)/scripts/kconfig support/kconfig.new
I actually don't think /usr/src/linux-headers-$(uname -r) is any
better. Most people who are interested in this will have their Linux
kernel source code cloned from Git, in some totally different location.
So perhaps:
"""
To update, assuming $KSRC points to a Linux kernel source tree:
cp -a $KSRC/scripts/kconfig support/kconfig.new
...
"""
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-29 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-29 11:30 [Buildroot] [PATCH] support/kconfig: fix linux header path Cherniaev Andrei
2024-10-29 17:11 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox