initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_GFLAGS
|
||||
bool "gflags"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
The gflags package contains a C++ library that implements
|
||||
commandline flags processing. It includes built-in support for
|
||||
standard types such as string and the ability to define flags
|
||||
in the source file in which they are used.
|
||||
|
||||
https://github.com/gflags/gflags
|
||||
|
||||
comment "gflags needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf gflags-2.2.2.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 90d1f3701813c3cd65eee2dc736746fe46b465918f3f7d6d31463a2018b33fa5 COPYING.txt
|
||||
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# gflags
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GFLAGS_VERSION = 2.2.2
|
||||
GFLAGS_SITE = $(call github,gflags,gflags,v$(GFLAGS_VERSION))
|
||||
GFLAGS_INSTALL_STAGING = YES
|
||||
GFLAGS_LICENSE = BSD-3-Clause
|
||||
GFLAGS_LICENSE_FILES = COPYING.txt
|
||||
|
||||
# Force Release otherwise libraries will be suffixed by _debug which will raise
|
||||
# unexpected build failures with packages that use gflags (e.g. rocksdb)
|
||||
GFLAGS_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
GFLAGS_CONF_OPTS += -DBUILD_gflags_LIB=OFF \
|
||||
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DNO_THREADS"
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user