aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Sven Neumann <neumann@teufel.de>2014-06-18 11:23:30 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-15 22:56:23 +0200
commit201adefb6e17e30d8e66b3d673c58cfd17ac1b5a (patch)
tree4c2f790d2e44b52c94a3afca235f153684d198f3 /Makefile
parent21510bdb0bfee931d2ac4929663e8398278b8e2f (diff)
downloadbuildroot-201adefb6e17e30d8e66b3d673c58cfd17ac1b5a.tar.gz
buildroot-201adefb6e17e30d8e66b3d673c58cfd17ac1b5a.tar.bz2
Makefile: do not purge locale-archive from target
The rules to purge unwanted locales from the target also removed the locale-archive file from /usr/lib/locale which contains the locale definitions explicitly generated for the target. Signed-off-by: Sven Neumann <neumann@teufel.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3bd91eb54..1af51de506 100644
--- a/Makefile
+++ b/Makefile
@@ -538,7 +538,7 @@ LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
define PURGE_LOCALES
rm -f $(LOCALE_WHITELIST)
- for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
+ for i in $(LOCALE_NOPURGE) locale-archive; do echo $$i >> $(LOCALE_WHITELIST); done
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man /usr/lib/locale)); \
do \