Skip to content
Commits on Source (2)
......@@ -130,11 +130,10 @@ def build(ctx):
target = "ntpd",
features = "c rtems_trace cprogram bld_include src_include libisc_include libisc_pthread_include ntp_version",
source = ntpd_source,
use = "libntpd_obj isc ntp sodium opts M parse RT CAP SECCOMP THR PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
# use = "libntpd_obj bison_obj isc ntp sodium opts M parse RT CAP THR PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
use = "libntpd_obj isc ntp sodium M parse RT CAP SECCOMP PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
includes = [
"%s/host/ntpd/" % ctx.bldnode.parent.abspath(),
"%s/ntpd/" % srcnode,
"%s/host/ntpd/" % ctx.bldnode.parent.abspath(),
"%s/ntpd/" % srcnode,
"%s/libsodium/include" % srcnode
],
install_path = ntpd_install_path,
......
......@@ -13,7 +13,7 @@ def build(ctx):
ctx(
target = "ntpdig_obj",
features = "c bld_include src_include libisc_include",
use = "ntp isc opts M PTHREAD LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
use = "ntp isc M PTHREAD LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
source = ntpdig_obj_source,
cwd = bldnode,
includes = [
......@@ -28,7 +28,7 @@ def build(ctx):
ctx(
target = "ntpdig",
features = "c cprogram bld_include src_include libisc_include ntp_version",
use = "ntp isc opts ntpdig_obj M PTHREAD ntpdig_obj LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
use = "ntp isc ntpdig_obj M PTHREAD ntpdig_obj LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
source = ntpdig_source,
cwd = bldnode,
includes = [
......
......@@ -14,7 +14,6 @@ def build(ctx):
includes = [
"%s/ntpfrob/" % bldnode
],
use = "ntp opts isc M RT PTHREAD",
install_path = "${PREFIX}/bin/"
)
......
......@@ -17,7 +17,7 @@ def build(ctx):
"%s/libsodium/include/" % srcnode
],
# clock_gettime needs -lrt for glibc versions before 2.17
use = "ntp opts isc sodium M RT PTHREAD CRYPTO",
use = "ntp isc sodium M CRYPTO",
install_path= "${PREFIX}/bin/"
)
......
......@@ -11,7 +11,7 @@ def build(ctx):
target = "ntpq",
features = "c cprogram bld_include src_include libisc_include ntp_version",
source = ntpq_source,
use = "ntp opts isc M RT READLINE EDIT PTHREAD CRYPTO CURSES NCURSES READLINE",
use = "ntp isc M RT READLINE EDIT PTHREAD CRYPTO CURSES NCURSES READLINE",
includes = [bldnode],
install_path = "${PREFIX}/bin/",
)
......
......@@ -13,7 +13,7 @@ def build(ctx):
"%s/ntptime/" % bldnode,
"%s/ntptime/" % srcnode,
],
use = "ntp opts isc M RT PTHREAD",
use = "ntp isc M",
install_path = "${PREFIX}/bin/"
)
......
......@@ -13,6 +13,6 @@ def build(ctx):
includes = [
"%s/%s/" % (bldnode, name)
],
use = "ntp opts isc M RT THR PTHREAD",
use = "ntp isc M RT THR PTHREAD",
install_path = None,
)