From 9c54fad8f4a0bee4993d2a49f903d15d60f02411 Mon Sep 17 00:00:00 2001
From: Adam Wujek <adam.wujek@cern.ch>
Date: Tue, 18 Jun 2019 18:52:05 +0200
Subject: [PATCH] configs/buildroot: purge locales

This reduces the size of a firmware by 5MB.

Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
---
 configs/buildroot/wrs_release_br2_config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/buildroot/wrs_release_br2_config b/configs/buildroot/wrs_release_br2_config
index c84872392..f1316892d 100644
--- a/configs/buildroot/wrs_release_br2_config
+++ b/configs/buildroot/wrs_release_br2_config
@@ -233,7 +233,8 @@ BR2_TOOLCHAIN_HAS_THREADS_DEBUG=y
 BR2_TOOLCHAIN_HAS_THREADS_NPTL=y
 BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS=y
 BR2_TOOLCHAIN_HAS_SSP=y
-# BR2_ENABLE_LOCALE_PURGE is not set
+BR2_ENABLE_LOCALE_PURGE=y
+BR2_ENABLE_LOCALE_WHITELIST="C"
 BR2_GENERATE_LOCALE=""
 # BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY is not set
 BR2_USE_MMU=y
-- 
GitLab