mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
pps-tools: new package
Added pps-tools package to add support to the ntpd for a
pps source (requires timepps.h from pps-tools as part of ntpd
build).
[Thomas:
- Use $(TARGET_MAKE_ENV) at install time.
- Alphabetic ordering in package/Config.in, noticed by Jerzy
Grzegorek.]
Signed-off-by: Bryan Brinsko <bryan.brinsko@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
256db411db
commit
e7db499925
@@ -353,6 +353,7 @@ endif
|
|||||||
source "package/pciutils/Config.in"
|
source "package/pciutils/Config.in"
|
||||||
source "package/picocom/Config.in"
|
source "package/picocom/Config.in"
|
||||||
source "package/pifmrds/Config.in"
|
source "package/pifmrds/Config.in"
|
||||||
|
source "package/pps-tools/Config.in"
|
||||||
source "package/read-edid/Config.in"
|
source "package/read-edid/Config.in"
|
||||||
source "package/rng-tools/Config.in"
|
source "package/rng-tools/Config.in"
|
||||||
source "package/rpi-userland/Config.in"
|
source "package/rpi-userland/Config.in"
|
||||||
|
|||||||
6
package/pps-tools/Config.in
Normal file
6
package/pps-tools/Config.in
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_PPS_TOOLS
|
||||||
|
bool "pps-tools"
|
||||||
|
help
|
||||||
|
Pulse per second tools. Provides timepps.h and other PPS utilities.
|
||||||
|
|
||||||
|
https://github.com/ago/pps-tools/
|
||||||
27
package/pps-tools/pps-tools.mk
Normal file
27
package/pps-tools/pps-tools.mk
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# pps-tools
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PPS_TOOLS_VERSION = 0deb9c7e135e9380a6d09e9d2e938a146bb698c8
|
||||||
|
PPS_TOOLS_SITE = $(call github,ago,pps-tools,$(PPS_TOOLS_VERSION))
|
||||||
|
PPS_TOOLS_INSTALL_STAGING = YES
|
||||||
|
PPS_TOOLS_LICENSE = GPLv2+
|
||||||
|
PPS_TOOLS_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
define PPS_TOOLS_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||||
|
endef
|
||||||
|
|
||||||
|
define PPS_TOOLS_INSTALL_STAGING_CMDS
|
||||||
|
mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define PPS_TOOLS_INSTALL_TARGET_CMDS
|
||||||
|
mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
||||||
Reference in New Issue
Block a user