All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/6] tzdump: new host package
Date: Wed, 09 Apr 2014 00:13:46 +0200	[thread overview]
Message-ID: <87d2gra2qt.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <bd0d8b1e63d1946a8dd482f5d40c54008bed8081.1396900553.git.yann.morin.1998@free.fr> (Yann E. MORIN's message of "Mon, 7 Apr 2014 21:58:06 +0200")

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
 > tzdump takes timezone info in the installed tzdata format, and
 > outputs timezone info parseable by uClibc.

 > Signed-off-by: Alexandre Belloni <alexandre.belloni@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@free.fr>
 > ---
 >  package/tzdump/tzdump.mk | 24 ++++++++++++++++++++++++
 >  1 file changed, 24 insertions(+)
 >  create mode 100644 package/tzdump/tzdump.mk

 > diff --git a/package/tzdump/tzdump.mk b/package/tzdump/tzdump.mk
 > new file mode 100644
 > index 0000000..471a719
 > --- /dev/null
 > +++ b/package/tzdump/tzdump.mk
 > @@ -0,0 +1,24 @@
 > +################################################################################
 > +#
 > +# tzdump
 > +#
 > +################################################################################
 > +
 > +TZDUMP_VERSION = 65a10105564801094b18c3fcacf4dde4c44e4ab8
 > +TZDUMP_SITE = $(call github,alexandrebelloni,tzdump,$(TZDUMP_VERSION))
 > +TZDUMP_DEPENDENCIES = host-zic

It doesn't look like this is needed.

 > +
 > +define HOST_TZDUMP_BUILD_CMDS
 > +	(cd $(@D) ;\
 > +		$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o tzdump tzdump.c ; \
 > +	)

We don't really need the subshell here.

 > +endef
 > +
 > +define HOST_TZDUMP_INSTALL_CMDS
 > +	mkdir -p $(HOST_DIR)/usr/sbin
 > +	install -D -m 755 $(@D)/tzdump $(HOST_DIR)/usr/sbin/tzdump

install -D already creates the destination directory, so mkdir can be
dropped.

We normally use the INSTALL variable instead of explicit 'install'.

Committed with these fixes, thanks.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2014-04-08 22:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07 19:58 [Buildroot] [PATCH 0/6 v4] Setting timezone for uClibc, and setting localtime (branch yem/tz) Yann E. MORIN
2014-04-07 19:58 ` [Buildroot] [PATCH 1/6] system: make the zoneinfo list a system option Yann E. MORIN
2014-04-08 21:35   ` Peter Korsgaard
2014-04-07 19:58 ` [Buildroot] [PATCH 2/6] system: add selection of a default localtime Yann E. MORIN
2014-04-08 21:47   ` Peter Korsgaard
2014-04-08 21:50     ` Peter Korsgaard
2014-04-08 21:57       ` Peter Korsgaard
2014-04-07 19:58 ` [Buildroot] [PATCH 3/6] tzdata: allow host build Yann E. MORIN
2014-04-08 22:04   ` Peter Korsgaard
2014-04-07 19:58 ` [Buildroot] [PATCH 4/6] tzdump: new host package Yann E. MORIN
2014-04-08 22:13   ` Peter Korsgaard [this message]
2014-04-08 22:18     ` Yann E. MORIN
2014-04-08 22:25       ` Peter Korsgaard
2014-04-07 19:58 ` [Buildroot] [PATCH 5/6] tz: new package Yann E. MORIN
2014-04-08 22:32   ` Peter Korsgaard
2014-04-07 19:58 ` [Buildroot] [PATCH 6/6] system: allow setting the local timezone for uClibc Yann E. MORIN
2014-04-08 22:39   ` 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=87d2gra2qt.fsf@dell.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.