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,31 @@
From c347aeb43775109cbc2824b99cb10b1b3440c191 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Mon, 17 May 2021 21:27:11 +0200
Subject: [PATCH] server/CMakeLists.txt: don't override CMAKE_EXE_LINKER_FLAGS
Don't override CMAKE_EXE_LINKER_FLAGS as this could break the build if
CMAKE_EXE_LINKER_FLAGS is already set by the user (for example to pass
-latomic)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/cutelyst/cutelyst/pull/312]
---
wsgi/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
index ec5689f7..1ed56859 100644
--- a/wsgi/CMakeLists.txt
+++ b/wsgi/CMakeLists.txt
@@ -95,7 +95,7 @@ install(TARGETS Cutelyst${PROJECT_VERSION_MAJOR}Qt${QT_VERSION_MAJOR}Server
cxx_generalized_initializers
)
if (JEMALLOC_FOUND)
- set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} " -Wl,--no-as-needed")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed")
target_link_libraries(cutelyst-wsgi2 PRIVATE ${JEMALLOC_LIBRARIES})
endif()
--
2.30.2
+17
View File
@@ -0,0 +1,17 @@
config BR2_PACKAGE_CUTELYST
bool "cutelyst"
depends on BR2_PACKAGE_QT5
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
select BR2_PACKAGE_QT5BASE_GUI
help
A C++ Web Framework built on top of Qt, using
the simple approach of Catalyst (Perl) framework.
https://cutelyst.org
comment "cutelyst needs a toolchain w/ C++, gcc >= 4.8, headers >= 3.3"
depends on BR2_PACKAGE_QT5
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated after checking pgp signature
sha256 b0e3d658a60d68906f7255b78bad64af1aa07cb3b785fbf61629b7355f089baa cutelyst-2.11.0.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+38
View File
@@ -0,0 +1,38 @@
################################################################################
#
# cutelyst
#
################################################################################
CUTELYST_VERSION = 2.11.0
CUTELYST_SITE = https://github.com/cutelyst/cutelyst/archive/v$(CUTELYST_VERSION)
CUTELYST_INSTALL_STAGING = YES
CUTELYST_SUPPORTS_IN_SOURCE_BUILD = NO
CUTELYST_LICENSE = LGPL-2.1+
CUTELYST_LICENSE_FILES = COPYING
CUTELYST_DEPENDENCIES = qt5base
CUTELYST_CONF_OPTS += \
-DPLUGIN_CSRFPROTECTION=ON \
-DPLUGIN_VIEW_GRANTLEE=OFF
# Qt 5.8 needs atomics, which on various architectures are in -latomic
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
CUTELYST_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
endif
ifeq ($(BR2_PACKAGE_LIBPWQUALITY),y)
CUTELYST_CONF_OPTS += -DPLUGIN_VALIDATOR_PWQUALITY=ON
CUTELYST_DEPENDENCIES += libpwquality
else
CUTELYST_CONF_OPTS += -DPLUGIN_VALIDATOR_PWQUALITY=OFF
endif
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
CUTELYST_CONF_OPTS += -DUSE_JEMALLOC=ON
CUTELYST_DEPENDENCIES += jemalloc
else
CUTELYST_CONF_OPTS += -DUSE_JEMALLOC=OFF
endif
$(eval $(cmake-package))