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
+29
View File
@@ -0,0 +1,29 @@
config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
bool
# see include/jemalloc/internal/quantum.h
default y if BR2_arm || BR2_armeb
default y if BR2_aarch64 || BR2_aarch64_be
default y if BR2_i386 || BR2_x86_64
default y if BR2_m68k
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_nios2
default y if BR2_or1k
default y if BR2_powerpc
default y if BR2_riscv
default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
default y if BR2_sparc64
config BR2_PACKAGE_JEMALLOC
bool "jemalloc"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
This library providing a malloc(3) implementation that
emphasizes fragmentation avoidance and scalable concurrency
support.
http://jemalloc.net/
comment "jemalloc needs a toolchain w/ threads"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6 jemalloc-5.2.1.tar.bz2
sha256 94aa2caa98c25d942f58b956c71dba6a99ff98fc3a31cbc669fe2a4cd0268b53 COPYING
+22
View File
@@ -0,0 +1,22 @@
################################################################################
#
# jemalloc
#
################################################################################
JEMALLOC_VERSION = 5.2.1
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
JEMALLOC_LICENSE = BSD-2-Clause
JEMALLOC_LICENSE_FILES = COPYING
JEMALLOC_INSTALL_STAGING = YES
JEMALLOC_CONFIG_SCRIPTS = jemalloc-config
# gcc bug internal compiler error: in merge_overlapping_regs, at
# regrename.c:304. This bug is fixed since gcc 6.
ifeq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
JEMALLOC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))