From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 4/5] dos2unix: remove host-gettext dependency from host package
Date: Fri, 4 Sep 2015 11:52:29 +0100 [thread overview]
Message-ID: <55E977ED.3050001@imgtec.com> (raw)
In-Reply-To: <34042a90627862a05815f38fea948493777bdf4c.1441253454.git.baruch@tkos.co.il>
Dear Baruch Siach,
On 09/03/2015 05:10 AM, Baruch Siach wrote:
> This shortens build time.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v3:
> * New patch in this series (Peter)
> ---
> package/dos2unix/dos2unix.mk | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/package/dos2unix/dos2unix.mk b/package/dos2unix/dos2unix.mk
> index 4c5f4fcff384..55608c653f9c 100644
> --- a/package/dos2unix/dos2unix.mk
> +++ b/package/dos2unix/dos2unix.mk
> @@ -9,7 +9,7 @@ DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
> DOS2UNIX_LICENSE = BSD-2c
> DOS2UNIX_LICENSE_FILES = COPYING.txt
> DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
> -HOST_DOS2UNIX_DEPENDENCIES = host-gettext
> +HOST_DOS2UNIX_DEPENDENCIES =
>
> ifeq ($(BR2_ENABLE_LOCALE),)
> DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
> @@ -34,11 +34,12 @@ define DOS2UNIX_INSTALL_TARGET_CMDS
> endef
>
> define HOST_DOS2UNIX_BUILD_CMDS
> - $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) ENABLE_NLS=
> endef
>
> define HOST_DOS2UNIX_INSTALL_CMDS
> - $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
> + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
> + install
> endef
>
> $(eval $(generic-package))
>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Compile test for MIPS architecture:
$ grep gettext output/build/build-time.log
$
$ grep host-dos2unix output/build/build-time.log | grep install
1441363609:start:install-host : host-dos2unix
1441363609:end :install-host : host-dos2unix
However I think your commit message is not correct. What your patch does
is disable the native language support therefore there is no need to
depend on gettext. Perhaps you could improve your commit message. Anyway
you can keep my reviewed-by and tested-by.
Regards,
Vincent.
next prev parent reply other threads:[~2015-09-04 10:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 4:10 [Buildroot] [PATCH v3 1/5] dos2unix: add target support Baruch Siach
2015-09-03 4:10 ` [Buildroot] [PATCH v3 2/5] dos2unix: bump to version 7.3 Baruch Siach
2015-09-04 10:52 ` Vicente Olivert Riera
2015-09-03 4:10 ` [Buildroot] [PATCH v3 3/5] dos2unix: remove WCHAR dependency Baruch Siach
2015-09-04 10:52 ` Vicente Olivert Riera
2015-09-04 12:16 ` Baruch Siach
2015-09-03 4:10 ` [Buildroot] [PATCH v3 4/5] dos2unix: remove host-gettext dependency from host package Baruch Siach
2015-09-04 10:52 ` Vicente Olivert Riera [this message]
2015-09-03 4:10 ` [Buildroot] [PATCH v3 5/5] dos2unix: update homepage link Baruch Siach
2015-09-04 10:52 ` Vicente Olivert Riera
2015-09-04 10:52 ` [Buildroot] [PATCH v3 1/5] dos2unix: add target support Vicente Olivert Riera
2015-09-04 15:07 ` Peter Korsgaard
2015-09-06 9:36 ` Baruch Siach
2015-09-06 9:42 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55E977ED.3050001@imgtec.com \
--to=vincent.riera@imgtec.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox