diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /meta-openembedded/meta-networking/recipes-support/ntimed | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-support/ntimed')
-rw-r--r-- | meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch | 16 | ||||
-rw-r--r-- | meta-openembedded/meta-networking/recipes-support/ntimed/ntimed_git.bb | 40 |
2 files changed, 56 insertions, 0 deletions
diff --git a/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch b/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch new file mode 100644 index 0000000000..87a7778d98 --- /dev/null +++ b/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch @@ -0,0 +1,16 @@ +Obey LDFLAGS. + +Signed-off-by: Christopher Larson <kergoth@gmail.com> +Upstream-Status: Pending + +--- Ntimed.orig/configure 2015-05-30 11:57:59.927796993 -0700 ++++ Ntimed/configure 2015-05-30 11:58:26.143948894 -0700 +@@ -142,7 +142,7 @@ + + echo + echo "ntimed-client: ${l}" +- echo " \${CC} \${CFLAGS} -o ntimed-client ${l} -lm" ++ echo " \${CC} \${CFLAGS} -o ntimed-client ${l} \${LDFLAGS} -lm" + echo + echo "clean:" + echo " rm -f ${l} ntimed-client" diff --git a/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed_git.bb b/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed_git.bb new file mode 100644 index 0000000000..a749b16593 --- /dev/null +++ b/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed_git.bb @@ -0,0 +1,40 @@ +SUMMARY = "Network time synchronization software, NTPD replacement" +DESCRIPTION = "This is a preview/early-access/alpha/buzzword-of-the-times \ +release of a new FOSS project written to gradually take over the world of \ +networked timekeeping." +HOMEPAGE = "https://github.com/bsdphk/Ntimed" +SECTION = "net" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://main.c;beginline=2;endline=24;md5=89db8e76f2951f3fad167e7aa9718a44" + +SRC_URI = "git://github.com/bsdphk/Ntimed \ + file://use-ldflags.patch" + +PV = "0.0+git${SRCPV}" +SRCREV = "db0abbb4c80f2ecef6bc5d9639bca5bea28532a2" + +S = "${WORKDIR}/git" + +# use adjtimex on musl +CFLAGS_append_libc-musl = " -Dntp_adjtime=adjtimex" + +EXTRA_OEMAKE = "\ + 'CC=${CC}' \ + 'CFLAGS=${CFLAGS}' \ + 'LDFLAGS=${LDFLAGS}' \ +" + +do_configure () { + sh ${S}/configure +} + +do_install () { + install -D -m 0755 ntimed-client ${D}${sbindir}/ntimed-client +} + +ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN} += "ntimed-client" + +PACKAGE_BEFORE_PN += "ntimed-client" +FILES_ntimed-client = "${sbindir}/ntimed-client" |