initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
configure: on Linux, the BSD functions require linking against libbsd
|
||||
|
||||
Signed-off-by: "Fabrice Fontaine" <fontaine.fabrice@gmail.com>
|
||||
(Rebased against 20170329-3.1)
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
(Rebased against 20150325-3.1)
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac
|
||||
--- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200
|
||||
+++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200
|
||||
@@ -117,6 +117,10 @@
|
||||
#AC_FUNC_REALLOC
|
||||
AC_TYPE_SIGNAL
|
||||
AC_FUNC_STAT
|
||||
+
|
||||
+# Search for libbsd for *vis functions
|
||||
+AC_CHECK_LIB([bsd], [vis])
|
||||
+
|
||||
AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat getline vis strvis strunvis __secure_getenv secure_getenv])
|
||||
|
||||
# strlcpy
|
||||
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_LIBEDIT
|
||||
bool "libedit"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
The editline library (from BSD) provides generic line editing
|
||||
and history functions. It slightly resembles GNU readline.
|
||||
|
||||
The official homepage is at:
|
||||
http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/
|
||||
|
||||
Jess Thrysoee maintains an autotoolified package, which we use
|
||||
in Buildroot as it makes it much simpler than using the
|
||||
upstream sources which require pmake.
|
||||
|
||||
http://www.thrysoee.dk/editline
|
||||
|
||||
comment "libedit needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071 libedit-20191231-3.1.tar.gz
|
||||
sha256 9da6c9c74987a36c84302982799d17d2f748ba1c1c0c471425716173c1d07649 COPYING
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# libedit
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEDIT_VERSION = 20191231-3.1
|
||||
LIBEDIT_SITE = http://www.thrysoee.dk/editline
|
||||
LIBEDIT_INSTALL_STAGING = YES
|
||||
LIBEDIT_DEPENDENCIES = ncurses
|
||||
LIBEDIT_LICENSE = BSD-3-Clause
|
||||
LIBEDIT_LICENSE_FILES = COPYING
|
||||
|
||||
# We're patching configure.ac
|
||||
LIBEDIT_AUTORECONF = YES
|
||||
|
||||
# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__,
|
||||
# so let's define it manually
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
||||
LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L"
|
||||
endif
|
||||
|
||||
# Note: libbsd required for *vis functions, but works only with a toolchain
|
||||
# with __progname; otherwise, some features are disabled, as if libbsd was
|
||||
# missing entirely.
|
||||
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
||||
LIBEDIT_DEPENDENCIES += libbsd
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user