Skip to content

Commit

Permalink
add local uClibc-locale-030818.tgz file
Browse files Browse the repository at this point in the history
Fetched from https://www.uclibc.org/downloads/uClibc-locale-030818.tgz

There are situations where www.uclibc.org is not available.
See issue #49

Locale data can still be downloaded by setting
UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA to 'y'
  • Loading branch information
ricardaxel committed May 30, 2024
1 parent 955d502 commit fb4ddd5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions extra/Configs/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,12 @@ config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
default n
help
If you would like the build process to use 'wget'/'curl' to automatically
download the pregenerated locale data, enable this option. Otherwise
you will need to obtain the locale data yourself from:
http://www.uclibc.org/downloads/uClibc-locale-030818.tgz
and place the uClibc-locale-030818.tgz tarball in the extra/locale/
directory.
download the pregenerated locale data from http://www.uclibc.org/downloads/,
enable this option. Otherwise a local tarball will be copied
(from extra/locale/artefact/).
If you wan't to use a custom version of locale data, you can place
your own tarball in extra/locale/. It will take precedence
over the one in artefact/ directory.

Go ahead and make life easy for yourself... Answer Y.

Expand Down
2 changes: 2 additions & 0 deletions extra/locale/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ $(locale_OUT)/locale_collate.h: $(locale_OUT)/gen_collate $(locale_OUT)/locale_t
$(locale_OUT)/$(LOCALE_DATA_FILENAME):
ifeq ($(UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA),y)
( cd $(dir $@); $(GET) https://www.uclibc.org/downloads/$(notdir $@) )
else
cp --no-clobber $(locale_DIR)/artefact/$(LOCALE_DATA_FILENAME) $(locale_OUT)
endif

ifeq ($(UCLIBC_PREGENERATED_LOCALE_DATA),y)
Expand Down
Binary file added extra/locale/artefact/uClibc-locale-030818.tgz
Binary file not shown.

0 comments on commit fb4ddd5

Please sign in to comment.