* [Buildroot] [Bug 15246] New: buildroot ignore my config
@ 2023-01-12 9:47 bugzilla
2023-01-12 9:49 ` [Buildroot] [Bug 15246] " bugzilla
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugzilla @ 2023-01-12 9:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
Bug ID: 15246
Host: X86 AMD geode
Build: Ubuntu 22 X86_64
Summary: buildroot ignore my config
Product: buildroot
Version: 2022.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: glscene2010@gmail.com
CC: buildroot@uclibc.org
Target Milestone: ---
I can successfully build when in my buildroot's config pc_x86_bios_defconfig I
set
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
# BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG is not set
# BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG is not set
But when in pc_x86_bios_defconfig I do
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig"
All my settings from pc_x86_bios_defconfig will be ignored. Why?
To build I use command see console.txt
I get messages from buildroot see log2.txt
To get my config files see my_external_tree.7z
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
@ 2023-01-12 9:49 ` bugzilla
2023-01-12 16:09 ` bugzilla
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-12 9:49 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #1 from Andrei Cherniaev <glscene2010@gmail.com> ---
Created attachment 9456
--> https://bugs.busybox.net/attachment.cgi?id=9456&action=edit
my config files
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
2023-01-12 9:49 ` [Buildroot] [Bug 15246] " bugzilla
@ 2023-01-12 16:09 ` bugzilla
2023-01-13 4:34 ` bugzilla
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-12 16:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
There are several places where it could have gone wrong.
* When you make changes to pc_x86_bios_defconfig this won't be taken into
account at all unless you run `make pc_x86_bios_defconfig` again.
* When you make changes manually in pc_x86_bios_defconfig, it's possible you
made a mistake (e.g. missed a dependency). As a result, your changes may have
been removed from the full .config. Check in the .config if those symbols are
there. In general, it's best to run `make menuconfig; make savedefconfig` and
review the changes, rather than editing the defconfig manually.
* After you make changes to the configuration, the next build will not take
into account changes, it will only build any *new* packages you added. In this
case, since you changed the linux configuration, you can run `make
linux-reconfigure` to refresh the configuration. In general you may need to do
a clean build (`make clean; make`).
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
2023-01-12 9:49 ` [Buildroot] [Bug 15246] " bugzilla
2023-01-12 16:09 ` bugzilla
@ 2023-01-13 4:34 ` bugzilla
2023-01-13 6:26 ` bugzilla
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-13 4:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #3 from Andrei Cherniaev <glscene2010@gmail.com> ---
May be I have some mistakes?
I do
1) make menuconfig -C buildroot
And select Load "/mnt/ramdisk/my_external_tree/configs/pc_x86_bios_defconfig"
And select Save "/mnt/ramdisk/my_external_tree/configs/pc_x86_bios_defconfig"
2)
make clean -C buildroot
make BR2_EXTERNAL=${MyBaseDir}/my_external_tree -C buildroot
pc_x86_bios_defconfig
I get "# configuration written to /mnt/ramdisk/buildroot/.config", so let's
look into /mnt/ramdisk/buildroot/.config
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot123"
yes, "123" is my mark! Looks ok. But may be I have a mistake in
/mnt/ramdisk/my_external_tree/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig
? I do
make linux-menuconfig -C buildroot
And select Load
"/mnt/ramdisk/my_external_tree/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig"
And select Save
"/mnt/ramdisk/my_external_tree/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig"
Now let's build:
3)
# get absoletly new buildroot from git
rm -Rf buildroot/
git clone https://github.com/buildroot/buildroot
make BR2_EXTERNAL=${MyBaseDir}/my_external_tree -C buildroot
pc_x86_bios_defconfig
make -C buildroot
And I see default values, "Welcome to Buildroot", not "Welcome to
Buildroot123"... Why?
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
` (2 preceding siblings ...)
2023-01-13 4:34 ` bugzilla
@ 2023-01-13 6:26 ` bugzilla
2023-01-16 0:54 ` bugzilla
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-13 6:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #4 from Andreas Ziegler <br015@umbiko.net> ---
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/board/my_company/my_board/pc_x86_bios_kernel4.19.269_defconfig"
This is not correct ^^^
The external tree is referenced by $(BR2_EXTERNAL_XYZZY_PATH), where XYZZY is
the name you specified in external.desc. You need to edit this file before
setting up your project with
$ make BR2_EXTERNAL= ... pc_x86_bios_defconfig,
because this variable is transferred to your .config; check the first section
of the file.
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
` (3 preceding siblings ...)
2023-01-13 6:26 ` bugzilla
@ 2023-01-16 0:54 ` bugzilla
2023-01-24 3:43 ` bugzilla
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-16 0:54 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #5 from Andrei Cherniaev <glscene2010@gmail.com> ---
Created attachment 9461
--> https://bugs.busybox.net/attachment.cgi?id=9461&action=edit
good buildroot and kernel configs for x86
This is working config with kernel 4.19.269 (based on pc_x86_64_bios_defconfig)
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
` (4 preceding siblings ...)
2023-01-16 0:54 ` bugzilla
@ 2023-01-24 3:43 ` bugzilla
2023-01-26 5:40 ` bugzilla
2023-01-28 20:39 ` bugzilla
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-24 3:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
--- Comment #6 from Andrei Cherniaev <glscene2010@gmail.com> ---
Not good works, see details https://bugs.busybox.net/show_bug.cgi?id=15271
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
` (5 preceding siblings ...)
2023-01-24 3:43 ` bugzilla
@ 2023-01-26 5:40 ` bugzilla
2023-01-28 20:39 ` bugzilla
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-26 5:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
Andrei Cherniaev <glscene2010@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.busybox.net/sh
| |ow_bug.cgi?id=15291
--
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] 9+ messages in thread
* [Buildroot] [Bug 15246] buildroot ignore my config
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
` (6 preceding siblings ...)
2023-01-26 5:40 ` bugzilla
@ 2023-01-28 20:39 ` bugzilla
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla @ 2023-01-28 20:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15246
Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
There is apparently no Buildroot bug here, but instead:
- Andrei you are manually editing the defconfig file. Don't do that, unless you
are extremely familiar with Buildroot options. Please use "make menuconfig" to
change the configuration.
- As pointed out by Andreas, using $(BR2_EXTERNAL) will not work, you need to
use $(BR2_EXTERNAL_xyz_PATH) where "xyz" is the name of your external as
specified in the external.desc file.
Since there's no Buildroot bug here, I'm closing this entry.
--
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] 9+ messages in thread
end of thread, other threads:[~2023-01-28 20:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 9:47 [Buildroot] [Bug 15246] New: buildroot ignore my config bugzilla
2023-01-12 9:49 ` [Buildroot] [Bug 15246] " bugzilla
2023-01-12 16:09 ` bugzilla
2023-01-13 4:34 ` bugzilla
2023-01-13 6:26 ` bugzilla
2023-01-16 0:54 ` bugzilla
2023-01-24 3:43 ` bugzilla
2023-01-26 5:40 ` bugzilla
2023-01-28 20:39 ` bugzilla
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.