From: Thomas Petazzoni Date: Sun, 16 Sep 2012 12:57:51 +0000 (+0000) Subject: doc: update after gettext changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa8ba9608db7ffc2e05fb06ed678cbe6ea813e89;p=buildroot.git doc: update after gettext changes Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Tested-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Arnout Vandecappelle (Essensium/Mind) CC: Samuel Martin Signed-off-by: Peter Korsgaard --- diff --git a/docs/manual/adding-packages-gettext.txt b/docs/manual/adding-packages-gettext.txt index 1ed834e152..e0df1a412e 100644 --- a/docs/manual/adding-packages-gettext.txt +++ b/docs/manual/adding-packages-gettext.txt @@ -27,18 +27,14 @@ Therefore, Buildroot defines two configuration options: Therefore, packages that unconditionally need gettext should: -* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT+ and possibly - +select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT+, if libintl is - also needed +* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT+ * Use +$(if $(BR2_NEEDS_GETTEXT),gettext)+ in the package +DEPENDENCIES+ variable Packages that need gettext only when locale support is enabled should: -* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE+ and - possibly +select BR2_PACKAGE_LIBINTL if - BR2_NEEDS_GETTEXT_IF_LOCALE+, if libintl is also needed +* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE+ * Use +$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)+ in the package +DEPENDENCIES+ variable