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
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_LIBCROSSGUID
bool "libcrossguid"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Lightweight cross platform C++ GUID/UUID library
https://github.com/graeme-hill/crossguid
comment "libcrossguid needs a toolchain w/ C++, gcc >= 4.7"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99 libcrossguid-8f399e8bd4252be9952f3dfa8199924cc8487ca4.tar.gz
sha256 779e58787f966a1552f68d5ec041513cef68785dae4a519dbda7bc0b86eda20e LICENSE
+28
View File
@@ -0,0 +1,28 @@
################################################################################
#
# libcrossguid
#
################################################################################
LIBCROSSGUID_VERSION = 8f399e8bd4252be9952f3dfa8199924cc8487ca4
LIBCROSSGUID_SITE = $(call github,graeme-hill,crossguid,$(LIBCROSSGUID_VERSION))
LIBCROSSGUID_LICENSE = MIT
LIBCROSSGUID_LICENSE_FILES = LICENSE
LIBCROSSGUID_INSTALL_STAGING = YES
# only a static library
LIBCROSSGUID_INSTALL_TARGET = NO
LIBCROSSGUID_DEPENDENCIES = util-linux
define LIBCROSSGUID_BUILD_CMDS
(cd $(@D); $(TARGET_CXX) $(TARGET_CXXFLAGS) -std=c++11 -DGUID_LIBUUID \
-c guid.cpp -o guid.o)
(cd $(@D); $(TARGET_AR) rvs libcrossguid.a guid.o)
endef
define LIBCROSSGUID_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 644 $(@D)/libcrossguid.a \
$(STAGING_DIR)/usr/lib/libcrossguid.a
$(INSTALL) -D -m 644 $(@D)/guid.h $(STAGING_DIR)/usr/include/guid.h
endef
$(eval $(generic-package))