@@ -57,6 +57,7 @@ endif
endmenu
menu "Debugging, profiling and benchmark"
+ source "package/atf/Config.in"
source "package/blktrace/Config.in"
source "package/bonnie/Config.in"
source "package/cache-calibrator/Config.in"
new file mode 100644
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ATF
+ bool "atf"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ ATF, or Automated Testing Framework, is a collection of
+ libraries to write test programs in C, C++ and POSIX shell.
+
+ https://github.com/jmmv/atf
+
+comment "atf needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
new file mode 100644
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505 atf-0.21.tar.gz
new file mode 100644
@@ -0,0 +1,21 @@
+################################################################################
+#
+# atf
+#
+################################################################################
+
+ATF_VERSION = 0.21
+ATF_SITE = https://github.com/jmmv/atf/releases/download/atf-$(ATF_VERSION)
+ATF_AUTORECONF = YES
+ATF_INSTALL_STAGING = YES
+ATF_LICENSE = BSD-3c
+ATF_LICENSE_FILES = COPYING
+
+# ATF_SHELL defaults to the host's bash
+ATF_CONF_ENV = \
+ kyua_cv_getopt_plus=yes \
+ kyua_cv_attribute_noreturn=yes \
+ kyua_cv_getcwd_works=yes \
+ ATF_SHELL=/bin/sh
+
+$(eval $(autotools-package))
ATF, or Automated Testing Framework, is a collection of libraries to write test programs in C, C++ and POSIX shell. https://github.com/jmmv/atf Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> --- Changes v1 -> v2: suggested by Arnout Vandecapelle <arnout@mind.be>: - bump the version - uses the release archive instead of the github automatic one - updates the hash - removes host-pkgconf from dependencies - changes the license - reworks the comment around CONF_ENV to avoid error --- package/Config.in | 1 + package/atf/Config.in | 11 +++++++++++ package/atf/atf.hash | 2 ++ package/atf/atf.mk | 21 +++++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 package/atf/Config.in create mode 100644 package/atf/atf.hash create mode 100644 package/atf/atf.mk