From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 7 Mar 2014 23:39:52 +0100 Subject: [Buildroot] [PATCH 4/7] package/zic: install header In-Reply-To: References: Message-ID: <20140307233952.2b60d44f@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Yann E. MORIN, On Mon, 3 Mar 2014 23:10:23 +0100, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > The incoming host-tzdump package requires the tzfile header, > so we isntall it. > > Signed-off-by: Alexandre Belloni > [yann.morin.1998 at free.fr: split zic header-install to its own cset] > Signed-off-by: "Yann E. MORIN" > --- > 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