[Buildroot] [PATCH 4/7] package/zic: install header

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 7 22:39:52 UTC 2014


Dear Yann E. MORIN,

On Mon,  3 Mar 2014 23:10:23 +0100, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> 
> The incoming host-tzdump package requires the tzfile header,
> so we isntall it.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> [yann.morin.1998 at free.fr: split zic header-install to its own cset]
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> ---
>  package/zic/zic.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/zic/zic.mk b/package/zic/zic.mk
> index c9b6c7b..4814fba 100644
> --- a/package/zic/zic.mk
> +++ b/package/zic/zic.mk
> @@ -22,6 +22,8 @@ endef
>  define HOST_ZIC_INSTALL_CMDS
>  	mkdir -p $(HOST_DIR)/usr/sbin
>  	install -D -m 755 $(@D)/zic $(HOST_DIR)/usr/sbin/zic
> +	mkdir -p $(HOST_DIR)/usr/include
> +	install -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/usr/include/tzfile.h
>  endef

Applied, thanks.

However, I've removed the mkdir -p line, which is useless because of
the use of install -D. And I've replaced install by $(INSTALL), was we
do in all other packages.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list