diff --git a/DEVELOPERS b/DEVELOPERS index a1f1cad5e6..22d26ea961 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2540,6 +2540,7 @@ F: package/azmq/ N: Robert Marko F: package/mdio-tools/ +F: package/mhz/ N: Robert Rose F: package/grpc/ diff --git a/package/Config.in b/package/Config.in index 5b65ed588f..54cddc3914 100644 --- a/package/Config.in +++ b/package/Config.in @@ -551,6 +551,7 @@ endmenu source "package/memtest86/Config.in" source "package/memtester/Config.in" source "package/memtool/Config.in" + source "package/mhz/Config.in" source "package/minicom/Config.in" source "package/msr-tools/Config.in" source "package/nanocom/Config.in" diff --git a/package/mhz/Config.in b/package/mhz/Config.in new file mode 100644 index 0000000000..2f4af5026e --- /dev/null +++ b/package/mhz/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_MHZ + bool "mhz" + help + CPU frequency measurement utility. + + https://github.com/wtarreau/mhz.git diff --git a/package/mhz/mhz.hash b/package/mhz/mhz.hash new file mode 100644 index 0000000000..c399c4b56f --- /dev/null +++ b/package/mhz/mhz.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c4b49dc719846220b96ac6060f15dd917316189cbbd2e0896b1b5e796e063ede mhz-11aac2399780a1f7ea9f007b14af0464797d5cf1.tar.gz +sha256 9449d373cad921620bb8f1e4f7b39f957e263163ded159c1efc8de27f8997099 LICENSE diff --git a/package/mhz/mhz.mk b/package/mhz/mhz.mk new file mode 100644 index 0000000000..025a5c6b9f --- /dev/null +++ b/package/mhz/mhz.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# mhz +# +################################################################################ + +MHZ_VERSION = 11aac2399780a1f7ea9f007b14af0464797d5cf1 +MHZ_SITE = $(call github,wtarreau,mhz,$(MHZ_VERSION)) +MHZ_LICENSE = MIT +MHZ_LICENSE_FILES = LICENSE + +define MHZ_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define MHZ_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/mhz $(TARGET_DIR)/usr/bin/mhz +endef + +$(eval $(generic-package))