Initial Commit
- initial default booting image
This commit is contained in:
33
package/atf/0001-atf-check.cpp-include-time.h.patch
Normal file
33
package/atf/0001-atf-check.cpp-include-time.h.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
From 67e7d350a15aff88c151b1fc838dac83d35be955 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd@kuhls.net>
|
||||
Date: Sat, 22 Nov 2025 23:47:41 +0100
|
||||
Subject: [PATCH] atf-check.cpp: include time.h
|
||||
|
||||
Fixes build error with gcc 14 as reported by the buildroot autobuilders:
|
||||
https://autobuild.buildroot.net/results/41b/41b25ee8e66e34323eca011e4b5fe479ece9ed76/build-end.log
|
||||
|
||||
atf-sh/atf-check.cpp: In function 'useconds_t get_monotonic_useconds()':
|
||||
atf-sh/atf-check.cpp:183:24: error: 'CLOCK_MONOTONIC' was not declared in this scope
|
||||
|
||||
Upstream: https://github.com/freebsd/atf/commit/67e7d350a15aff88c151b1fc838dac83d35be955
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
atf-sh/atf-check.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/atf-sh/atf-check.cpp b/atf-sh/atf-check.cpp
|
||||
index 1354e3a..94da413 100644
|
||||
--- a/atf-sh/atf-check.cpp
|
||||
+++ b/atf-sh/atf-check.cpp
|
||||
@@ -30,6 +30,7 @@ extern "C" {
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
+#include <time.h>
|
||||
#include <unistd.h>
|
||||
}
|
||||
|
||||
--
|
||||
2.47.3
|
||||
|
||||
13
package/atf/Config.in
Normal file
13
package/atf/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_ATF
|
||||
bool "atf"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
ATF, or Automated Testing Framework, is a collection of
|
||||
libraries to write test programs in C, C++ and POSIX shell.
|
||||
|
||||
https://github.com/freebsd/atf
|
||||
|
||||
comment "atf needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU
|
||||
3
package/atf/atf.hash
Normal file
3
package/atf/atf.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 a64e2427d021297f25b3f2e1798f8ec4dc3061ffb01a1cd3f66cc4cee486b10f atf-0.23.tar.gz
|
||||
sha256 2a15172ddf6386297734c9800c899e6e8dc16c5a03931dcf95a9ab321a24cfe4 COPYING
|
||||
24
package/atf/atf.mk
Normal file
24
package/atf/atf.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# atf
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ATF_VERSION = 0.23
|
||||
ATF_SITE = https://github.com/freebsd/atf/releases/download/atf-$(ATF_VERSION)
|
||||
ATF_INSTALL_STAGING = YES
|
||||
ATF_LICENSE = BSD-2-Clause, BSD-3-Clause
|
||||
ATF_LICENSE_FILES = COPYING
|
||||
# Ships a beta libtool version hence our patch doesn't apply.
|
||||
ATF_AUTORECONF = YES
|
||||
# Do not install precompiled tests.
|
||||
ATF_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
|
||||
|
||||
# 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))
|
||||
Reference in New Issue
Block a user