Makefile: add BR2_ENABLE_LOCALE_PURGE to purge unwanted locales
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 6 Apr 2009 09:21:26 +0000 (09:21 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 6 Apr 2009 09:21:26 +0000 (09:21 -0000)
commitb87b4742e0b963e0c265cfd3eee02e79ff6041da
tree91b3a66d949a96edccd644118bbd985c9103f361
parent4d298a2d3771c177da606e00b916f58be7c629a0
Makefile: add BR2_ENABLE_LOCALE_PURGE to purge unwanted locales

Add BR2_ENABLE_LOCALE_PURGE / BR2_ENABLE_LOCALE_WHITELIST options to
remove unwanted locales from the target rootfs. Handy for stuff like
the gtk stack, which comes with ~25 MB locales.

Works similar to localepurge in Debian, E.G. you provide a white list
of wanted locales, and everything else is removed.
Makefile
toolchain/Config.in.2