Initial Commit
- initial default booting image
This commit is contained in:
31
package/babeltrace2/Config.in
Normal file
31
package/babeltrace2/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_BABELTRACE2
|
||||
bool "babeltrace2"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
Babeltrace 2 is an open-source trace manipulation toolkit.
|
||||
|
||||
The Babeltrace 2 project offers a library with a C API,
|
||||
Python 3 bindings, and a command-line tool which makes it
|
||||
very easy for mere mortals to view, convert, transform, and
|
||||
analyze traces.
|
||||
|
||||
Babeltrace 2 is also the reference parser implementation of
|
||||
the Common Trace Format (CTF), a very versatile trace format
|
||||
followed by various tracers and tools such as LTTng and
|
||||
barectf. The Babeltrace 2 library and its Python bindings
|
||||
can read and write CTF traces.
|
||||
|
||||
To get support for the debugging information filter
|
||||
component class, enable the elfutils package
|
||||
(BR2_PACKAGE_ELFUTILS).
|
||||
|
||||
https://babeltrace.org/
|
||||
|
||||
comment "babeltrace2 needs a toolchain w/ wchar, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
17
package/babeltrace2/Config.in.host
Normal file
17
package/babeltrace2/Config.in.host
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_HOST_BABELTRACE2
|
||||
bool "host babeltrace2"
|
||||
help
|
||||
Babeltrace 2 is an open-source trace manipulation toolkit.
|
||||
|
||||
The Babeltrace 2 project offers a library with a C API,
|
||||
Python 3 bindings, and a command-line tool which makes it
|
||||
very easy for mere mortals to view, convert, transform, and
|
||||
analyze traces.
|
||||
|
||||
Babeltrace 2 is also the reference parser implementation of
|
||||
the Common Trace Format (CTF), a very versatile trace format
|
||||
followed by various tracers and tools such as LTTng and
|
||||
barectf. The Babeltrace 2 library and its Python bindings
|
||||
can read and write CTF traces.
|
||||
|
||||
https://babeltrace.org/
|
||||
13
package/babeltrace2/babeltrace2.hash
Normal file
13
package/babeltrace2/babeltrace2.hash
Normal file
@@ -0,0 +1,13 @@
|
||||
# From https://www.efficios.com/files/babeltrace/babeltrace2-2.1.2.tar.bz2.sha256
|
||||
sha256 12833fd234ad679b8bd42b28c07c9141b9f788b3b11ebedec33d2e6c3cb02c9c babeltrace2-2.1.2.tar.bz2
|
||||
|
||||
# Hash for license files
|
||||
sha256 897516be0468a348575a353b1ae1e88f323bcac671b9f9c9821f620dfa1e3172 LICENSE
|
||||
sha256 d41f641f1b4226c7fc8f6401eb194223057943799ff77b08ce3b703e4b24b074 LICENSES/BSD-2-Clause.txt
|
||||
sha256 5add2e59921fa776c7803c531a5775a5ce6a5e2291de35f55b4c61dbbcdaa39e LICENSES/BSD-4-Clause.txt
|
||||
sha256 b4417c108b78a2a416c6f34af596f72954f9958db1962745e5f9967535da7fda LICENSES/CC-BY-SA-4.0.txt
|
||||
sha256 aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3 LICENSES/GPL-2.0-only.txt
|
||||
sha256 fb981668c18a279e285fc4d83fba1e836cc84dd4daa73c9697d3cfd2d8aca6e0 LICENSES/GPL-3.0-or-later.txt
|
||||
sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb LICENSES/LGPL-2.1-only.txt
|
||||
sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT.txt
|
||||
sha256 c7afb65e755707b9fb90487389a176d3ed3d0031d5131afde45c23715ff5e891 LICENSES/PSF-2.0.txt
|
||||
50
package/babeltrace2/babeltrace2.mk
Normal file
50
package/babeltrace2/babeltrace2.mk
Normal file
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
#
|
||||
# babeltrace2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BABELTRACE2_SITE = https://www.efficios.com/files/babeltrace
|
||||
BABELTRACE2_VERSION = 2.1.2
|
||||
BABELTRACE2_SOURCE = babeltrace2-$(BABELTRACE2_VERSION).tar.bz2
|
||||
BABELTRACE2_LICENSE = \
|
||||
MIT, \
|
||||
BSD-2-Clause (C and Python TAP test libraries), \
|
||||
BSD-4-Clause (CRC32 code), \
|
||||
CC-BY-SA-4.0 (doc), \
|
||||
GPL-2.0 (test code), \
|
||||
GPL-3.0+ (BASH TAP library), \
|
||||
LGPL-2.1 (src/common/list.h), \
|
||||
PSF-2.0 (typing Python module)
|
||||
BABELTRACE2_LICENSE_FILES = \
|
||||
LICENSE \
|
||||
LICENSES/MIT.txt \
|
||||
LICENSES/BSD-2-Clause.txt \
|
||||
LICENSES/BSD-4-Clause.txt \
|
||||
LICENSES/CC-BY-SA-4.0.txt \
|
||||
LICENSES/GPL-2.0-only.txt \
|
||||
LICENSES/GPL-3.0-or-later.txt \
|
||||
LICENSES/LGPL-2.1-only.txt \
|
||||
LICENSES/PSF-2.0.txt
|
||||
BABELTRACE2_CONF_OPTS = --disable-man-pages
|
||||
BABELTRACE2_DEPENDENCIES = libglib2 host-pkgconf
|
||||
# The host-elfutils dependency is optional, but since we don't have
|
||||
# options for host packages, just build support for it
|
||||
# unconditionally.
|
||||
HOST_BABELTRACE2_DEPENDENCIES = host-libglib2 host-pkgconf host-elfutils
|
||||
HOST_BABELTRACE2_CONF_OPTS += --disable-man-pages --enable-debug-info
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
||||
BABELTRACE2_DEPENDENCIES += elfutils
|
||||
BABELTRACE2_CONF_OPTS += --enable-debug-info
|
||||
BABELTRACE2_CONF_ENV += bt_cv_lib_elfutils=yes
|
||||
else
|
||||
BABELTRACE2_CONF_OPTS += --disable-debug-info
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
BABELTRACE2_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user