initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_CXXTEST
|
||||
bool "cxxtest"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
CxxTest is a unit testing framework for C++
|
||||
|
||||
http://cxxtest.com/
|
||||
|
||||
comment "cxxtest needs a toolchain w/ C++ support"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 cxxtest-4.4.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# cxxtest
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CXXTEST_VERSION = 4.4
|
||||
CXXTEST_SITE = https://github.com/CxxTest/cxxtest/releases/download/$(CXXTEST_VERSION)
|
||||
CXXTEST_LICENSE = LGPL-3.0
|
||||
CXXTEST_LICENSE_FILES = COPYING
|
||||
CXXTEST_INSTALL_STAGING = YES
|
||||
CXXTEST_INSTALL_TARGET = NO
|
||||
CXXTEST_DEPENDENCIES = host-cxxtest
|
||||
HOST_CXXTEST_SETUP_TYPE = setuptools
|
||||
HOST_CXXTEST_SUBDIR = python
|
||||
|
||||
# Copy CxxTest header files to staging directory
|
||||
define CXXTEST_INSTALL_STAGING_CMDS
|
||||
$(INSTALL) -m 755 -d $(STAGING_DIR)/usr/include/cxxtest
|
||||
$(INSTALL) -m 644 -t $(STAGING_DIR)/usr/include/cxxtest $(@D)/cxxtest/*
|
||||
endef
|
||||
|
||||
# CxxTest uses python infrastructure as the build system. It consists of two parts:
|
||||
# 1. cxxtestgen tool to process tests defined in header files to generate C++ source
|
||||
# files. cxxtestgen is built as a host package, so that it can be used natively.
|
||||
# 2. A set of header files which are installed in staging directory. This will be
|
||||
# used in cross-compiling test harness to generate executable which will run on target.
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user