• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/chrony/chrony.mk
Peter KorsgaardPeter Korsgaard committed 8fca8c1551315 Sep 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# chrony
4
#
5
################################################################################
6
​
7
CHRONY_VERSION = 3.2
8
CHRONY_SITE = http://download.tuxfamily.org/chrony
9
CHRONY_LICENSE = GPL-2.0
10
CHRONY_LICENSE_FILES = COPYING
11
​
12
CHRONY_CONF_OPTS = \
13
    --host-system=Linux \
14
    --host-machine=$(BR2_ARCH) \
15
    --prefix=/usr \
16
    --without-tomcrypt
17
​
18
ifeq ($(BR2_PACKAGE_LIBCAP),y)
19
CHRONY_DEPENDENCIES += libcap
20
else
21
CHRONY_CONF_OPTS += --without-libcap
22
endif
23
​
24
ifeq ($(BR2_PACKAGE_LIBNSS),y)
25
CHRONY_DEPENDENCIES += host-pkgconf libnss
26
else
27
CHRONY_CONF_OPTS += --without-nss
28
endif
29
​
30
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
31
CHRONY_CONF_OPTS += --enable-scfilter
32
CHRONY_DEPENDENCIES += libseccomp
33
else
34
CHRONY_CONF_OPTS += --without-seccomp
35
endif
36
​
37
ifeq ($(BR2_PACKAGE_READLINE),y)
38
CHRONY_DEPENDENCIES += readline
39
else
40
CHRONY_CONF_OPTS += --disable-readline
41
endif
42
​
43
# If pps-tools is available, build it before so the package can use it
44
# (HAVE_SYS_TIMEPPS_H).
45
ifeq ($(BR2_PACKAGE_PPS_TOOLS),y)
46
CHRONY_DEPENDENCIES += pps-tools
47
endif
48
​
49
define CHRONY_CONFIGURE_CMDS
50
    cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPTS)
51
endef
52
​
53
define CHRONY_BUILD_CMDS
54
    $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
55
endef
56
​
57
define CHRONY_INSTALL_TARGET_CMDS
58
    $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
59
endef
60
​
61
define CHRONY_INSTALL_INIT_SYSV
62
    $(INSTALL) -D -m 755 package/chrony/S49chrony $(TARGET_DIR)/etc/init.d/S49chrony
63
endef
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.