Go to file
Thomas Petazzoni dc057d2865 system: introduce BR2_SYSTEM_ENABLE_NLS
Until now, the option BR2_ENABLE_LOCALE was more-or-less controlling
whether NLS support was enabled in packages. More precisely, if
BR2_ENABLE_LOCALE=y, we were not doing anything (so some packages
could have NLS support enabled, some not). And only when
BR2_ENABLE_LOCALE was disabled we were explicitly passing
--disable-nls to packages.

This doesn't make much sense, and there is no reason to tie NLS
support to locale support. You may want locale support, but not
necessarily NLS support. Therefore, this commit introduces
BR2_SYSTEM_ENABLE_NLS, which allows to enable/disable NLS support
globally. When this option is enabled, we pass --enable-nls to
packages, otherwise we pass --disable-nls.

In addition, when this option is enabled and the C library doesn't
provide a full-blown implementation of gettext, we select the gettext
package, which will provide the full blown implementation.

It is worth mentioning that this commit has a visible impact for users:

 - Prior to this commit, as soon as BR2_ENABLE_LOCALE=y, packages
   *could* provide NLS support. It was up to each package to decide
   whether they wanted to provide NLS support or not (we were not
   passing --enable-nls nor --disable-nls).

 - After this commit, it's BR2_SYSTEM_ENABLE_NLS that controls whether
   NLS is enabled or disabled, and this option is disabled by default.

Bottom line: with the default of BR2_SYSTEM_ENABLE_NLS disabled, some
packages may lose NLS support that they used to provide. But we
believe it's a reasonable default behavior for Buildroot, where
generally NLS support is not necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-04 19:09:55 +02:00
arch
board olimex_a20: refactor with genimage.sh 2017-07-02 00:37:59 +02:00
boot syslinux: drop patch 0003, not needed after gnu-efi update 2017-07-04 18:45:26 +02:00
configs configs/{at91sam9x5ek*, atmel_*_xplained*}: U-Boot needs DTC 2017-07-02 15:48:05 +02:00
docs manual: add documentation about DL_DIR 2017-07-04 17:19:08 +02:00
fs package/mke2img: add option to specify block size 2017-07-04 08:50:40 +02:00
linux linux: bump default version to 4.11.8 2017-07-01 13:18:09 +02:00
package system: introduce BR2_SYSTEM_ENABLE_NLS 2017-07-04 19:09:55 +02:00
support support/scripts: add relocate-sdk.sh script for SDK relocation 2017-07-04 17:59:37 +02:00
system system: introduce BR2_SYSTEM_ENABLE_NLS 2017-07-04 19:09:55 +02:00
toolchain toolchain: introduce BR2_TOOLCHAIN_HAS_FULL_GETTEXT 2017-07-04 19:09:50 +02:00
utils support/check-package: don't check filenames of hashes 2017-07-03 17:33:22 +02:00
.defconfig
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: use the Buildroot CI image published on Docker Hub 2017-07-02 23:45:27 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: use the Buildroot CI image published on Docker Hub 2017-07-02 23:45:27 +02:00
CHANGES Update for 2017.02.3 2017-06-02 15:15:07 +02:00
Config.in core: change the strip command from a choice to a boolean 2017-07-01 15:07:25 +02:00
Config.in.legacy gst1-plugins-bad: add Image Quality Assessment (IQA) plugin 2017-07-04 13:31:41 +02:00
COPYING
DEVELOPERS pixz: new package 2017-07-04 09:03:12 +02:00
Makefile core/pkg-util: pass package directory and name when saving license files 2017-07-03 18:03:20 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches