New: make linux-menuconfig does not modify correct .config file when LINUX_KERNEL_CUSTOM_CONFIG_FILE set
https://bugs.busybox.net/show_bug.cgi?id=15820
Bug ID: 15820
Summary: make linux-menuconfig does not modify correct .config
file when LINUX_KERNEL_CUSTOM_CONFIG_FILE set
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
I want to have the linux source files in an alternate tree from where buildroot places them after the download. I've successfully done this by using the local.mk file with an entry LINUX_OVERRIDE_SRCDIR=/home/me/some-path.
make linux-rebuild then correctly builds from the source files in the new path.
However, if I run make linux-menuconfig, it modifies the .config file in its build directory (which is under buildroot at output/build/linux-custom/.config)
I found the variable BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE in buildroot's make menuconfig, and I thought this would do what I want (ie, modify the .config in my linux source directory), so I set this var to BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=/home/me/some-path/.config
Then make linux-reconfigure, it rebuilds linux, but appeared to again use the wrong .config file, then make linux-menuconfig still modifies the .config in output/build/linux-custom, rather than modifying the one in my source directory (/home/me/some-path/.config).
Correct me if I'm wrong, but setting BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE shouldn't buildroot make linux-menuconfig modify the one pointed to by this variable? So far, I've had to run make linux-menuconfig, then manually copy the output/target/linux-custom/.config to my actual linux source directory in order to preserve the changes.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15820] make linux-menuconfig does not modify correct .config file when LINUX_KERNEL_CUSTOM_CONFIG_FILE set
https://bugs.busybox.net/show_bug.cgi?id=15820
Yann E. MORIN <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
CC| |[email protected]--- Comment #1 from Yann E. MORIN <[email protected]> --- Garyl, All,
Thanks for your report.
Quoted 3 lines
Correct me if I'm wrong, but setting
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILEshouldn't buildroot make linux-menuconfig modify the one pointed to by this variable?
No, BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE is used as the "source" for the configuration, it is not meant to be the "working copy", so the behaviour you report is the expected one.
Quoted 3 lines
So far, I've had to run make linux-menuconfig, then manually copy the output/target/linux-custom/.config to my actual linux source directory in order to preserve the changes.
You want to run: make linux-update-defconfig (or: linux-update-config)
See help, with: make help
Regards,
Yann E. MORIN.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot