From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by arago-project.org (Postfix) with ESMTPS id 3479452A20 for ; Wed, 12 Feb 2014 19:38:16 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1CJcFSs006054 for ; Wed, 12 Feb 2014 13:38:15 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1CJcF9u005996 for ; Wed, 12 Feb 2014 13:38:15 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Wed, 12 Feb 2014 13:38:14 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1CJcEDs006706; Wed, 12 Feb 2014 13:38:14 -0600 Date: Wed, 12 Feb 2014 14:38:14 -0500 From: Denys Dmytriyenko To: Sam Nelson Message-ID: <20140212193813.GO4346@edge> References: <1392230029-12829-1-git-send-email-sam.nelson@ti.com> MIME-Version: 1.0 In-Reply-To: <1392230029-12829-1-git-send-email-sam.nelson@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-arago@arago-project.org Subject: Re: [PATCH v2] openntpd: Add recipe for building OpenNTPD X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 19:38:16 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Wed, Feb 12, 2014 at 01:33:49PM -0500, Sam Nelson wrote: > - OpenNTPD is a open source implementation of Network time protocol > > Signed-off-by: Sam Nelson > > --- > Changes from previous patch > * Moved to recipes-connectivity > * Removed redundant setting of STAGING_KERNEL_DIR > --- > --- > .../openntpd/openntpd_3.9p1.bb | 26 ++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100755 meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb > > diff --git a/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb > new file mode 100755 > index 0000000..ca090e4 > --- /dev/null > +++ b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb > @@ -0,0 +1,26 @@ > +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" > +CPPFLAGS = "-I${STAGING_KERNEL_DIR}/include" > +CPPFLAGS += "-I${STAGING_KERNEL_DIR}/arch/arm/include" Sam, I keep seeing you passing staged kernel location to user-space apps and daemons and I'm growing suspicious that it's not really needed... Both openntpd and linuxptp should be buildable as is w/o needing to have access to the staged kernel. Unless I'm missing something and they do use kernel headers directly (not libc provided) and you have those headers modified for your platform... Can you please elaborate here? Thanks. > +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