Message ID | 20241030022629.2706384-1-dungeonlords789@naver.com |
---|---|
State | New |
Headers | show |
Series | [1/1] support/kconfig: fix linux header path | expand |
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
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. Signed-off-by: Cherniaev Andrei <dungeonlords789@naver.com> --- support/kconfig/README.buildroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)