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
@@ -0,0 +1,33 @@
From 301ef15aefa6764466c374d07efb511b1c3862cc Mon Sep 17 00:00:00 2001
From: Nikita Ermakov <coffe92@gmail.com>
Date: Wed, 20 May 2020 17:57:17 +0300
Subject: [PATCH] Fix 'undefined reference to __data_start' linker error on
RISC-V
Issue #294 (bdwgc).
* include/private/gcconfig.h [RISCV && LINUX] (__data_start): Add
attribute(weak).
(cherry picked from commit 538562ad01b181f4cc3913da1ac06a77945cd9b9)
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
include/private/gcconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index d9d45da1..d6cefa6f 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -2943,7 +2943,7 @@ EXTERN_C_BEGIN
# define ALIGNMENT (CPP_WORDSZ/8)
# ifdef LINUX
# define OS_TYPE "LINUX"
- extern int __data_start[];
+ extern int __data_start[] __attribute__((__weak__));
# define DATASTART ((ptr_t)__data_start)
# define LINUX_STACKBOTTOM
# define DYNAMIC_LOADING
--
2.30.2
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_BDWGC
bool "bdwgc"
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
select BR2_PACKAGE_LIBATOMIC_OPS
help
The Boehm-Demers-Weiser conservative garbage collector can
be used as a garbage collecting replacement for C 'malloc'
or C++ 'new'.
http://www.hboehm.info/gc/
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d gc-8.0.4.tar.gz
sha256 aeeaabbf44e67d413e18719f0c6ac9c23387ab0b33e7a15ee46cf59ddef12cc7 README.QUICK
+36
View File
@@ -0,0 +1,36 @@
################################################################################
#
# bdwgc
#
################################################################################
BDWGC_VERSION = 8.0.4
BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
BDWGC_SITE = http://www.hboehm.info/gc/gc_source
BDWGC_INSTALL_STAGING = YES
BDWGC_LICENSE = bdwgc license
BDWGC_LICENSE_FILES = README.QUICK
BDWGC_CPE_ID_VENDOR = bdwgc_project
BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf
HOST_BDWGC_DEPENDENCIES = host-libatomic_ops host-pkgconf
BDWGC_CONF_OPTS = CFLAGS_EXTRA="$(BDWGC_CFLAGS_EXTRA)"
ifeq ($(BR2_sparc),y)
BDWGC_CFLAGS_EXTRA += -DAO_NO_SPARC_V9
endif
ifeq ($(BR2_STATIC_LIBS),y)
BDWGC_CFLAGS_EXTRA += -DGC_NO_DLOPEN
endif
# Ensure we use the system libatomic_ops, and not the internal one.
BDWGC_CONF_OPTS += --with-libatomic-ops=yes
HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
BDWGC_CONF_OPTS += --enable-cplusplus
else
BDWGC_CONF_OPTS += --disable-cplusplus
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))