initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
Fix musl build
Fixes
match.c.text+0x9c): undefined reference to `re_comp'
match.c.text+0xca): undefined reference to `re_exec'
by forcing to use the 'modern' regex methods implementation instead of
the obsolete re_comp/re_exec ([1]) one?
[1] http://man7.org/linux/man-pages/man3/re_comp.3.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr ytree-1.99pl2.orig/match.c ytree-1.99pl2/match.c
--- ytree-1.99pl2.orig/match.c 2019-09-29 12:37:57.000000000 +0200
+++ ytree-1.99pl2/match.c 2019-10-01 19:46:56.193815327 +0200
@@ -10,7 +10,7 @@
#include "ytree.h"
#if defined( sun ) || defined( linux ) || defined( __NeXT__ ) || defined( OSF1 ) || defined( __OpenBSD__ ) || defined(__NetBSD__) || defined( __FreeBSD__ ) || defined( __GNU__ )
-#define HAS_REGEX
+#define HAS_REGCOMP
#endif
#ifdef linux
+8
View File
@@ -0,0 +1,8 @@
config BR2_PACKAGE_YTREE
bool "ytree"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_NCURSES
help
Ytree - a (curses-based) file manager similar to DOS Xtree(tm)
https://www.han.de/~werner/ytree.html
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 583aa71552d1347e0eabe39a236fa5a174bf67dde98871853b9fe2a233bcaef1 ytree-2.03.tar.gz
sha256 eb6bf7204569b4fe8eaf9d4dffc57e44047c5efb5deba1b2d99069ddbc99d031 COPYING
+31
View File
@@ -0,0 +1,31 @@
################################################################################
#
# ytree
#
################################################################################
YTREE_VERSION = 2.03
YTREE_SITE = https://www.han.de/~werner
YTREE_LICENSE = GPL-2.0+
YTREE_LICENSE_FILES = COPYING
YTREE_DEPENDENCIES = ncurses
YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
ifeq ($(BR2_PACKAGE_READLINE),y)
YTREE_DEPENDENCIES += host-pkgconf readline
YTREE_CFLAGS += -DREADLINE_SUPPORT
YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
endif
define YTREE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(YTREE_CFLAGS)" LDFLAGS="$(YTREE_LDFLAGS)"
endef
define YTREE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install
endef
$(eval $(generic-package))