Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/rtc-tools: new package
Date: Tue, 15 Jan 2019 15:15:00 +0100	[thread overview]
Message-ID: <20190115141500.GE2572@piout.net> (raw)
In-Reply-To: <CANQCQpYiqiF7bE7yU=Lkhk79xTGJS2G_SMNYQ7r5RvDoN3OBkw@mail.gmail.com>

On 15/01/2019 06:24:10-0600, Matthew Weber wrote:
> Alexandre,
> 
> On Tue, Jan 15, 2019 at 3:32 AM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> >
> > This package contains a set of tools to manipulate RTC devices. They
> > are written and maintained by the RTC subsystem Linux kernel
> > maintainer, Alexandre Belloni.
> >
> > Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> > ---
> >  DEVELOPERS                       |  1 +
> >  package/Config.in                |  1 +
> >  package/rtc-tools/Config.in      |  7 +++++++
> >  package/rtc-tools/rtc-tools.hash |  3 +++
> >  package/rtc-tools/rtc-tools.mk   | 26 ++++++++++++++++++++++++++
> >  5 files changed, 38 insertions(+)
> >  create mode 100644 package/rtc-tools/Config.in
> >  create mode 100644 package/rtc-tools/rtc-tools.hash
> >  create mode 100644 package/rtc-tools/rtc-tools.mk
> >
> > diff --git a/DEVELOPERS b/DEVELOPERS
> > index aa1bf325cb..c1950bb0f4 100644
> > --- a/DEVELOPERS
> > +++ b/DEVELOPERS
> > @@ -2130,6 +2130,7 @@ F:        package/python-serial/
> >  F:     package/qextserialport/
> >  F:     package/rpcbind/
> >  F:     package/rt-tests/
> > +F:     package/rtc-tools/
> >  F:     package/sam-ba/
> >  F:     package/scons/
> >  F:     package/squashfs/
> > diff --git a/package/Config.in b/package/Config.in
> > index 0df9b73088..5036421a73 100644
> > --- a/package/Config.in
> > +++ b/package/Config.in
> > @@ -500,6 +500,7 @@ endmenu
> >         source "package/rng-tools/Config.in"
> >         source "package/rpi-userland/Config.in"
> >         source "package/rs485conf/Config.in"
> > +       source "package/rtc-tools/Config.in"
> >         source "package/rtl8188eu/Config.in"
> >         source "package/rtl8189fs/Config.in"
> >         source "package/rtl8723bs/Config.in"
> > diff --git a/package/rtc-tools/Config.in b/package/rtc-tools/Config.in
> > new file mode 100644
> > index 0000000000..78f5c06049
> > --- /dev/null
> > +++ b/package/rtc-tools/Config.in
> > @@ -0,0 +1,7 @@
> > +config BR2_PACKAGE_RTC_TOOLS
> > +       bool "rtc-tools"
> > +       help
> > +         This package provide a set of user-space tools that can be
> > +         used to manipulate Real Time Clock Devices.
> > +
> > +         https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git/
> > diff --git a/package/rtc-tools/rtc-tools.hash b/package/rtc-tools/rtc-tools.hash
> > new file mode 100644
> > index 0000000000..81be1afe4e
> > --- /dev/null
> > +++ b/package/rtc-tools/rtc-tools.hash
> > @@ -0,0 +1,3 @@
> > +# Locally calculated
> > +sha256 152d8455bae5ad672e99bb91dfbed5b8b4bd8b0325146d1cf1c4d80b6e0d8a16 rtc-tools-33ef4aa1c92b0c92a351284d93d1ac5570de9cc7.tar.gz
> > +sha256 7ae50a5344af14d6231aff6814632a220b3127da4099aea2c6070fd79c407c1a COPYING
> > diff --git a/package/rtc-tools/rtc-tools.mk b/package/rtc-tools/rtc-tools.mk
> > new file mode 100644
> > index 0000000000..5e9d040b27
> > --- /dev/null
> > +++ b/package/rtc-tools/rtc-tools.mk
> > @@ -0,0 +1,26 @@
> > +################################################################################
> > +#
> > +# rtc-tools
> > +#
> > +################################################################################
> > +
> > +RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7
> > +RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git
> > +RTC_TOOLS_LICENSE = GPL-2.0
> > +RTC_TOOLS_LICENSE_FILES = COPYING
> > +
> > +RTC_TOOLS_BINARIES = rtc rtc-sync rtc-range
> > +
> > +define RTC_TOOLS_BUILD_CMDS
> > +       $(foreach bin,$(RTC_TOOLS_BINARIES),\
> > +               $(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$(bin) $(@D)/$(bin).c
> 
> Is there a minimum Linux version required for the headers this tool needs?
> 

Yes, you need at least 2.3.99pre6-4 ;)


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-01-15 14:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15  9:32 [Buildroot] [PATCH] package/rtc-tools: new package Thomas Petazzoni
2019-01-15 12:24 ` Matthew Weber
2019-01-15 14:15   ` Alexandre Belloni [this message]
2019-01-15 14:45 ` Matthew Weber
2019-01-15 14:49 ` Alexandre Belloni
2019-01-15 15:27   ` Thomas Petazzoni
2019-01-16  9:46   ` Peter Korsgaard
2019-01-16  9:46 ` 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=20190115141500.GE2572@piout.net \
    --to=alexandre.belloni@bootlin.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