All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.