summaryrefslogtreecommitdiff
path: root/extra/locale/Makefile.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 10:29:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-26 20:23:29 +0200
commitb5d946a333f8faff998160c4da499c3c25a2d3ac (patch)
treee49110206c0665ba82ff49f213b80f47be220c64 /extra/locale/Makefile.in
parent29ff9055c80efe77a7130767a9fcb3ab8c67e8ce (diff)
locale: cleanup support
Enable locale application to be build when utils are build. Remove useless compile and link warnings. Default to minimal locale builds. Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'extra/locale/Makefile.in')
-rw-r--r--extra/locale/Makefile.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in
index 117993fd0..a16f82b73 100644
--- a/extra/locale/Makefile.in
+++ b/extra/locale/Makefile.in
@@ -8,11 +8,6 @@
locale_DIR := $(top_srcdir)extra/locale
locale_OUT := $(top_builddir)extra/locale
-# command used to download source code
-WGET := wget --passive-ftp
-
-LOCALE_DATA_FILENAME := uClibc-locale-20081111-$(ARCH_NATIVE_BIT)-$(if $(ARCH_LITTLE_ENDIAN),el,eb).tgz
-
BUILD_CFLAGS-locale-common := \
-D__UCLIBC_GEN_LOCALE \
-I$(top_builddir)
@@ -72,7 +67,7 @@ locale_headers: $(locale_headers-y)
# we do not know though which locales were really enabled for libc at build time
ifeq ($(wildcard /usr/include/iconv.h),)
-$(locale_OUT)/codesets.txt:
+$(locale_OUT)/codesets.txt: $(locale_OUT)/gen_wc8bit
@if [ ! -f $@ ] ; then \
set -e; \
echo " "; \
@@ -117,7 +112,7 @@ endif
# the lines beginning w/ '#-' are mandatory
# at least one conversion is needed (euro/cyrillic)
-$(locale_OUT)/locales.txt: $(locale_DIR)/LOCALES
+$(locale_OUT)/locales.txt: $(locale_DIR)/LOCALES $(locale_OUT)/gen_locale
@$(disp_gen)
ifeq ($(UCLIBC_BUILD_MINIMAL_LOCALE),y)
$(Q)echo "@euro e" > $@