source "package/rng-tools/Config.in"
source "package/rpi-userland/Config.in"
source "package/rs485conf/Config.in"
+ source "package/rtc-tools/Config.in"
source "package/rtl8188eu/Config.in"
source "package/rtl8189fs/Config.in"
source "package/rtl8723bs/Config.in"
--- /dev/null
+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/
--- /dev/null
+################################################################################
+#
+# 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))