All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH] openntpd: Add recipe for building OpenNTPD
Date: Wed, 12 Feb 2014 12:52:53 -0500	[thread overview]
Message-ID: <20140212175252.GI4346@edge> (raw)
In-Reply-To: <1391785246-19688-1-git-send-email-sam.nelson@ti.com>

On Fri, Feb 07, 2014 at 10:00:46AM -0500, Sam Nelson wrote:
> - OpenNTPD is a open source implementation of Network time protocol
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  .../recipes-bsp/openntpd/openntpd_3.9p1.bb         |   27 ++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100755 meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb

Same comment - recipes-connectivity seems better fit for networking 
tools/daemons.


> diff --git a/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb
> new file mode 100755
> index 0000000..b4e3402
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
> +Network Time Protocol."
> +HOMEPAGE = "http://www.openntpd.org/"
> +SECTION = "console/network"
> +LICENSE = "BSD ISC"
> +LIC_FILES_CHKSUM = "file://LICENCE;md5=4b4f5158007cc97e6b0e2325bb99854a"
> +
> +DEPENDS += "virtual/kernel"
> +PR = "r0"
> +
> +SRC_URI = "http://mirror.ece.vt.edu/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
> +
> +S = "${WORKDIR}/openntpd-${PV}"
> +EXTRA_OECONF = "--disable-strip"
> +inherit autotools
> +
> +LDFLAGS += "-lrt"
> +CFLAGS += "-DTI_ADD_SUPPORT_HW_TIMESTAMPING"
> +STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"

^^^ I don't think the above variable is correct any longer.

Plus, it's already properly defined for you, so why redefine it?


> +CPPFLAGS = "-I${STAGING_KERNEL_DIR}/include"
> +CPPFLAGS += "-I${STAGING_KERNEL_DIR}/arch/arm/include"
> +
> +EXTRA_OECONF += "CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" \
> +                 --with-privsep-user=root --with-privsep-path=/${prefix}"
> +
> +SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
> +SRC_URI[sha256sum] = "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


      reply	other threads:[~2014-02-12 17:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 15:00 [PATCH] openntpd: Add recipe for building OpenNTPD Sam Nelson
2014-02-12 17:52 ` Denys Dmytriyenko [this message]

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=20140212175252.GI4346@edge \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=sam.nelson@ti.com \
    /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.