Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15820] New: make linux-menuconfig does not modify correct .config file when LINUX_KERNEL_CUSTOM_CONFIG_FILE set
@ 2023-10-24 16:54 bugzilla
  2023-10-24 19:50 ` [Buildroot] [Bug 15820] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-10-24 16:54 UTC (permalink / raw)
  To: buildroot

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: unassigned@buildroot.uclibc.org
          Reporter: gary.isliefson@ametek.com
                CC: buildroot@uclibc.org
  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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
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:[~2023-10-24 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-24 16:54 [Buildroot] [Bug 15820] New: make linux-menuconfig does not modify correct .config file when LINUX_KERNEL_CUSTOM_CONFIG_FILE set bugzilla
2023-10-24 19:50 ` [Buildroot] [Bug 15820] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox