dos2unix: remove host-gettext dependency from host package
This shortens build time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
966968c8a9
commit
708818aaa2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user