Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From d449f26f782be91b3847f88ed2bd937582a575b6 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sun, 25 Aug 2024 11:33:59 +0200
|
||||
Subject: [PATCH] test: fix gcc-14.x compile (implicit int)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Fixes:
|
||||
|
||||
test.c:14:8: error: type defaults to ‘int’ in declaration of ‘num_test’ [-Wimplicit-int]
|
||||
14 | static num_test;
|
||||
| ^~~~~~~~
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
|
||||
Upstream: https://github.com/dottedmag/libsha1/pull/1
|
||||
|
||||
Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
|
||||
---
|
||||
test.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test.c b/test.c
|
||||
index 21a6525..1ec89d3 100644
|
||||
--- a/test.c
|
||||
+++ b/test.c
|
||||
@@ -11,7 +11,7 @@ static void print_hex(const char* data, size_t size)
|
||||
printf("%x%x", ((unsigned char)data[i])/16, ((unsigned char)data[i])%16);
|
||||
}
|
||||
|
||||
-static num_test;
|
||||
+static int num_test;
|
||||
|
||||
static int do_test(const char* data, size_t size, const char* expected_dgst)
|
||||
{
|
||||
--
|
||||
2.47.1
|
||||
|
||||
9
package/libsha1/Config.in
Normal file
9
package/libsha1/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBSHA1
|
||||
bool "libsha1"
|
||||
help
|
||||
libsha1 is a tiny library providing SHA1 implementation,
|
||||
created for facilitating X server compilation on devices
|
||||
when larger libraries containing SHA1 implementations
|
||||
(OpenSSL, Mozilla NSS) are not needed.
|
||||
|
||||
https://github.com/dottedmag/libsha1
|
||||
3
package/libsha1/libsha1.hash
Normal file
3
package/libsha1/libsha1.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ef4c75007ac41c3dc09e0225943c789ba2b9c632a6cd7b548e0519477ac2f768 libsha1-0.3.tar.gz
|
||||
sha256 4c387926596bfeacc5b72ebeb96ab36c299a07568e18592c727a6c11dd512c20 COPYING
|
||||
18
package/libsha1/libsha1.mk
Normal file
18
package/libsha1/libsha1.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsha1
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSHA1_VERSION = 0.3
|
||||
LIBSHA1_SITE = $(call github,dottedmag,libsha1,$(LIBSHA1_VERSION))
|
||||
LIBSHA1_LICENSE = BSD-3-Clause or GPL
|
||||
LIBSHA1_LICENSE_FILES = COPYING
|
||||
|
||||
LIBSHA1_INSTALL_STAGING = YES
|
||||
|
||||
# We're getting the source code from GitHub, so there is no generated
|
||||
# configure script in the tarball.
|
||||
LIBSHA1_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user