Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] BR2_PACKAGE_BUSYBOX_CONFIG ignored
Date: Fri, 14 May 2021 18:18:49 +0200	[thread overview]
Message-ID: <875yzlthjq.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <b68fa0a4d3734a67bef3497336d7620b@AcuMS.aculab.com> (David Laight's message of "Fri, 14 May 2021 15:29:15 +0000")

>>>>> "David" == David Laight <David.Laight@ACULAB.COM> writes:

Hi,

 > I think it must go wrong after those checks.

 > I've a local copy of busybox.config referenced from my buildroot config file.
 > There is also the default busybox.config inside buildroot.
 > And finally a .config file inside the busybox tree.

 > When I run 'make busybox-menuconfig' it only reads and updates the latter.
 > Even if I copy the .config to my busybox.config to ensure it is valid.

Just to make sure I follow you, you are doing this from a clean tree,
right? The config file is only copied to output/build/busybox-*/.config
once (unless you run make busybox-clean-kconfig-for-reconfigure).

It works here:

make savedefconfig

cat defconfig
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_PACKAGE_BUSYBOX_CONFIG="/tmp/config"
# BR2_TARGET_ROOTFS_TAR is not set

cat /tmp/config
CONFIG_BRCTL=y
# CONFIG_HTTPD is not set

make busybox-dirclean && make busybox-menuconfig
..
[*] brctl (4.7 kb)
[ ] httpd (32 kb)

What Buildroot version are you using?

 > I think this used to work (about three years ago) because our own scripts
 > recover the updated file so it can be saved under source control.
 > (Not that I actually remember doing that.)

We already have 'make busybox-update-config' for that:

make busybox-update-config
cp -f /home/peko/source/buildroot/output-busybox/build/busybox-1.33.0/.config /tmp/config

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2021-05-14 16:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14  9:11 [Buildroot] BR2_PACKAGE_BUSYBOX_CONFIG ignored David Laight
2021-05-14 14:59 ` Peter Korsgaard
2021-05-14 15:29   ` David Laight
2021-05-14 16:18     ` Peter Korsgaard [this message]
2021-05-17  9:30       ` David Laight

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yzlthjq.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox