Initial Commit
- initial default booting image
This commit is contained in:
27
package/opencsd/Config.in
Normal file
27
package/opencsd/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_OPENCSD_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm
|
||||
default y if BR2_armeb
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_aarch64_be
|
||||
|
||||
config BR2_PACKAGE_OPENCSD
|
||||
bool "opencsd"
|
||||
depends on BR2_PACKAGE_OPENCSD_ARCH_SUPPORTS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
help
|
||||
This library provides an API suitable for the decode of
|
||||
ARM(r) CoreSight(tm) trace streams.
|
||||
|
||||
OpenCSD is for example an optional dependency in the Linux
|
||||
"perf" tool, starting from kernel version 5.1.
|
||||
|
||||
https://github.com/Linaro/OpenCSD
|
||||
|
||||
comment "opencsd needs a toolchain w/ C++11, gcc >= 4.8, dynamic library"
|
||||
depends on BR2_PACKAGE_OPENCSD_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS \
|
||||
|| !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
3
package/opencsd/opencsd.hash
Normal file
3
package/opencsd/opencsd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally Computed:
|
||||
sha256 2133692c37f05c01354959d9da6f57797d58b2d1346693fd9477f1332eaa4223 opencsd-1.8.1.tar.gz
|
||||
sha256 980eef4b0744e63834e3ec0d50c2a4ff6d81d7ec62dd8ba8c66acae0ec5a2e88 LICENSE
|
||||
31
package/opencsd/opencsd.mk
Normal file
31
package/opencsd/opencsd.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# opencsd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENCSD_VERSION = 1.8.1
|
||||
OPENCSD_SITE = $(call github,Linaro,OpenCSD,v$(OPENCSD_VERSION))
|
||||
OPENCSD_LICENSE = BSD-3-Clause
|
||||
OPENCSD_LICENSE_FILES = LICENSE
|
||||
OPENCSD_INSTALL_STAGING = YES
|
||||
|
||||
OPENCSD_MAKE_OPTS = \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)"
|
||||
|
||||
define OPENCSD_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
|
||||
$(OPENCSD_MAKE_OPTS) all
|
||||
endef
|
||||
|
||||
define OPENCSD_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
|
||||
$(OPENCSD_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define OPENCSD_INSTALL_STAGING_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
|
||||
$(OPENCSD_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user