mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/rtc-tools: new package
This package contains a set of tools to manipulate RTC devices. They are written and maintained by the RTC subsystem Linux kernel maintainer, Alexandre Belloni. Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
5d1988e194
commit
582ceee3f1
@ -2130,6 +2130,7 @@ F: package/python-serial/
|
|||||||
F: package/qextserialport/
|
F: package/qextserialport/
|
||||||
F: package/rpcbind/
|
F: package/rpcbind/
|
||||||
F: package/rt-tests/
|
F: package/rt-tests/
|
||||||
|
F: package/rtc-tools/
|
||||||
F: package/sam-ba/
|
F: package/sam-ba/
|
||||||
F: package/scons/
|
F: package/scons/
|
||||||
F: package/squashfs/
|
F: package/squashfs/
|
||||||
|
@ -500,6 +500,7 @@ endmenu
|
|||||||
source "package/rng-tools/Config.in"
|
source "package/rng-tools/Config.in"
|
||||||
source "package/rpi-userland/Config.in"
|
source "package/rpi-userland/Config.in"
|
||||||
source "package/rs485conf/Config.in"
|
source "package/rs485conf/Config.in"
|
||||||
|
source "package/rtc-tools/Config.in"
|
||||||
source "package/rtl8188eu/Config.in"
|
source "package/rtl8188eu/Config.in"
|
||||||
source "package/rtl8189fs/Config.in"
|
source "package/rtl8189fs/Config.in"
|
||||||
source "package/rtl8723bs/Config.in"
|
source "package/rtl8723bs/Config.in"
|
||||||
|
7
package/rtc-tools/Config.in
Normal file
7
package/rtc-tools/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_RTC_TOOLS
|
||||||
|
bool "rtc-tools"
|
||||||
|
help
|
||||||
|
This package provide a set of user-space tools that can be
|
||||||
|
used to manipulate Real Time Clock Devices.
|
||||||
|
|
||||||
|
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git/
|
3
package/rtc-tools/rtc-tools.hash
Normal file
3
package/rtc-tools/rtc-tools.hash
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 152d8455bae5ad672e99bb91dfbed5b8b4bd8b0325146d1cf1c4d80b6e0d8a16 rtc-tools-33ef4aa1c92b0c92a351284d93d1ac5570de9cc7.tar.gz
|
||||||
|
sha256 7ae50a5344af14d6231aff6814632a220b3127da4099aea2c6070fd79c407c1a COPYING
|
26
package/rtc-tools/rtc-tools.mk
Normal file
26
package/rtc-tools/rtc-tools.mk
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# rtc-tools
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7
|
||||||
|
RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git
|
||||||
|
RTC_TOOLS_LICENSE = GPL-2.0
|
||||||
|
RTC_TOOLS_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
RTC_TOOLS_BINARIES = rtc rtc-sync rtc-range
|
||||||
|
|
||||||
|
define RTC_TOOLS_BUILD_CMDS
|
||||||
|
$(foreach bin,$(RTC_TOOLS_BINARIES),\
|
||||||
|
$(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$(bin) $(@D)/$(bin).c
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define RTC_TOOLS_INSTALL_TARGET_CMDS
|
||||||
|
$(foreach bin,$(RTC_TOOLS_BINARIES),\
|
||||||
|
$(INSTALL) -D -m 0755 $(@D)/$(bin) $(TARGET_DIR)/usr/bin/$(bin)
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
Loading…
x
Reference in New Issue
Block a user