initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 3f30f3a7e3f07f5ca3cef0f405b02e22a018c6e4 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 9 May 2021 15:22:29 +0200
|
||||
Subject: [PATCH] unix/uxutils.h: fix build on uclibc
|
||||
|
||||
Build on uclibc is broken since version 0.75 and commit
|
||||
65383082bf0c49cec63f4b36001a40bd9b13edf6 because AT_HWCAP2 is used
|
||||
even if <sys/auxv.h> is not available:
|
||||
|
||||
unix/uxutils.c: In function 'platform_aes_hw_available':
|
||||
unix/uxutils.c:13:22: error: 'AT_HWCAP2' undeclared (first use in this function)
|
||||
13 | return getauxval(AT_HWCAP2) & HWCAP2_AES;
|
||||
| ^~~~~~~~~
|
||||
|
||||
To fix this build failure, include <elf.h>
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/726f7c5ce13e78ed91e827b872e9d7ccfa13f298
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: sent to Simon Tatham <anakin@pobox.com>]
|
||||
---
|
||||
unix/uxutils.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/unix/uxutils.h b/unix/uxutils.h
|
||||
index c9acff53..b80bf972 100644
|
||||
--- a/unix/uxutils.h
|
||||
+++ b/unix/uxutils.h
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#if defined __arm__ || defined __aarch64__
|
||||
|
||||
+#include <elf.h>
|
||||
+
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_PUTTY
|
||||
bool "putty"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
PuTTY is a free SSH and Telnet client. Without GTK2
|
||||
activated, only the commandline tools plink, pscp, psftp,
|
||||
and puttygen are built; enable GTK2 for the graphical
|
||||
client.
|
||||
|
||||
http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
||||
|
||||
comment "putty needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
@@ -0,0 +1,8 @@
|
||||
# Hashes from: http://the.earth.li/~sgtatham/putty/0.76/{md5,sha1,sha256,sha512}sums
|
||||
md5 9d22f8c56c1eaa1c0af3098438f25908 putty-0.76.tar.gz
|
||||
sha1 de09f50aee330eb05ad0cb81b970d0cc8e5c9b25 putty-0.76.tar.gz
|
||||
sha256 547cd97a8daa87ef71037fab0773bceb54a8abccb2f825a49ef8eba5e045713f putty-0.76.tar.gz
|
||||
sha512 4576b359593928c6eba923f2d7b66ac0f2cf00e0c217cdbbb124471c3b35feb090e623847bfc507a4ef106cb3067aac47419e241b11dd8bf4ae554061fa93c25 putty-0.76.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 3f3e870dd3d0867d79370b1d433602c60bb91b59de04e5d8f2a149b788530d53 LICENCE
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# putty
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PUTTY_VERSION = 0.76
|
||||
PUTTY_SITE = http://the.earth.li/~sgtatham/putty/$(PUTTY_VERSION)
|
||||
PUTTY_LICENSE = MIT
|
||||
PUTTY_LICENSE_FILES = LICENCE
|
||||
PUTTY_CPE_ID_VENDOR = putty
|
||||
PUTTY_CONF_OPTS = --disable-gtktest
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK2),y)
|
||||
PUTTY_CONF_OPTS += --with-gtk=2
|
||||
PUTTY_DEPENDENCIES += libgtk2
|
||||
else
|
||||
PUTTY_CONF_OPTS += --without-gtk
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user