From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/19] uclibc: make sure the default configuration doesn't ask questions
Date: Mon, 03 May 2010 00:02:25 +0200 [thread overview]
Message-ID: <878w82ezda.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <741b47e2a65e767bc93ab4ed094248617c5e1298.1272490771.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Wed, 28 Apr 2010 23:40:51 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Since new configuration options have been added in 0.9.31, the value
Thomas> of these configuration options should be determined, either by the
Thomas> default configuration file we provide, or by uclibc.mk process.
Thomas> The locale generation process should probably be improved in order to
Thomas> allow building other locales than just en_US.
Thomas> ifeq ($(BR2_ENABLE_LOCALE),y)
Thomas> - $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=n\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=n\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig
Thomas> + $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_BUILD_MINIMAL_LOCALE=y\nUCLIBC_BUILD_MINIMAL_LOCALES="en_US"\nUCLIBC_PREGENERATED_LOCALE_DATA=n\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=n\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig
It still asks unless we add a # UCLIBC_BUILD_ALL_LOCALE is not set line
in the sed statement.
Thomas> else
Thomas> $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.oldconfig
Thomas> endif
Thomas> @@ -325,8 +325,10 @@ else
Thomas> endif
Thomas> ifeq ($(BR2_PROGRAM_INVOCATION),y)
Thomas> $(SED) 's,^.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*,UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y,g' $(UCLIBC_DIR)/.oldconfig
Thomas> + $(SED) 's,^.*UCLIBC_HAS___PROGNAME.*,UCLIBC_HAS___PROGNAME=y,g' $(UCLIBC_DIR)/.oldconfig
Thomas> else
Thomas> $(SED) 's,^.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*,UCLIBC_HAS_PROGRAM_INVOCATION_NAME=n,g' $(UCLIBC_DIR)/.oldconfig
Thomas> + $(SED) 's,^.*UCLIBC_HAS___PROGNAME.*,UCLIBC_HAS___PROGNAME=n,g' $(UCLIBC_DIR)/.oldconfig
This only works if we add a UCLIBC_HAS___PROGNAME line to the defconfig.
I've fixed those two issues and committed, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2010-05-02 22:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 21:40 [Buildroot] [pull request] Pull request for branch misc-fixes Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 01/19] autotools: fix autoreconf check Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 02/19] libxslt: fix host compilation Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 03/19] openssl: convert to the generic infrastructure Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 04/19] autotools: inherit LIBTOOL_PATCH for host packages Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 05/19] packages: remove useless HOST_*_LIBTOOL_PATCH Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 06/19] autotools: fix referencing to LIBTOOL_PATCH variable Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 07/19] freetype: disable autoreconf Thomas Petazzoni
2010-04-29 20:20 ` Paulius Zaleckas
2010-04-30 7:14 ` Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 08/19] packages: handle interrupted downloads Thomas Petazzoni
2010-04-28 23:26 ` Paul Jones
2010-05-02 20:48 ` Peter Korsgaard
2010-04-28 21:40 ` [Buildroot] [PATCH 09/19] uClibc: add UCLIBC_HAS_NFTW to default configuration Thomas Petazzoni
2010-04-29 6:52 ` Paulius Zaleckas
2010-04-28 21:40 ` [Buildroot] [PATCH 10/19] uclibc: make sure the default configuration doesn't ask questions Thomas Petazzoni
2010-05-02 22:02 ` Peter Korsgaard [this message]
2010-04-28 21:40 ` [Buildroot] [PATCH 11/19] Commonalize the definition of TOOLCHAIN_DIR Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 12/19] Get rid of KERNEL_CROSS Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 13/19] Remove latest users of the ROOTFS_SUFFIX thing Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 14/19] Get rid of the code computing ROOTFS_SUFFIX Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 15/19] Update defconfigs after BR2_ROOTFS_SUFFIX removal Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 16/19] Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 17/19] Update defconfigs after BR2_GNU_TARGET_SUFFIX removal Thomas Petazzoni
2010-04-28 21:40 ` [Buildroot] [PATCH 18/19] Unverbosify autoreconf output Thomas Petazzoni
2010-04-28 21:41 ` [Buildroot] [PATCH 19/19] Fix autotools configuration cache handling Thomas Petazzoni
2010-05-02 22:03 ` [Buildroot] [pull request] Pull request for branch misc-fixes Peter Korsgaard
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=878w82ezda.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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