Initial Commit
- initial default booting image
This commit is contained in:
33
package/sysprof/Config.in
Normal file
33
package/sysprof/Config.in
Normal file
@@ -0,0 +1,33 @@
|
||||
config BR2_PACKAGE_SYSPROF
|
||||
bool "sysprof"
|
||||
depends on BR2_USE_WCHAR # glib2, libdex, json-glib, elfutils
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, libdex, json-glib, polkit, elfutils
|
||||
depends on BR2_USE_MMU # glib2, libdex, json-glib
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libunwind, polkit
|
||||
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
|
||||
depends on !BR2_STATIC_LIBS # libdex, libunwind, polkit, elfutils
|
||||
depends on !BR2_OPTIMIZE_FAST # polkit
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
|
||||
select BR2_PACKAGE_ELFUTILS
|
||||
select BR2_PACKAGE_JSON_GLIB
|
||||
select BR2_PACKAGE_LIBDEX
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBUNWIND
|
||||
select BR2_PACKAGE_POLKIT
|
||||
help
|
||||
Sysprof is a statistical, system-wide profiler that can
|
||||
profile user and kernel code using the perf API.
|
||||
|
||||
http://sysprof.com
|
||||
|
||||
comment "sysprof needs a toolchain w/ dynamic library, wchar, threads, C++, gcc >= 7, headers >= 5.12"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
|
||||
|
||||
comment "sysprof can't be built with Optimize for fast"
|
||||
depends on BR2_OPTIMIZE_FAST
|
||||
5
package/sysprof/sysprof.hash
Normal file
5
package/sysprof/sysprof.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://download.gnome.org/sources/sysprof/49/sysprof-49.0.sha256sum
|
||||
sha256 ff04139637785c841948862087a4323b981680d942296409321b574fcb282878 sysprof-49.0.tar.xz
|
||||
|
||||
# License files
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
30
package/sysprof/sysprof.mk
Normal file
30
package/sysprof/sysprof.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# sysprof
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SYSPROF_VERSION_MAJOR = 49
|
||||
SYSPROF_VERSION = $(SYSPROF_VERSION_MAJOR).0
|
||||
SYSPROF_SOURCE = sysprof-$(SYSPROF_VERSION).tar.xz
|
||||
SYSPROF_SITE = https://download.gnome.org/sources/sysprof/$(SYSPROF_VERSION_MAJOR)
|
||||
SYSPROF_LICENSE = GPL-3.0+
|
||||
SYSPROF_LICENSE_FILES = COPYING
|
||||
SYSPROF_DEPENDENCIES = elfutils libglib2 libdex libunwind json-glib polkit
|
||||
SYSPROF_CONF_OPTS = \
|
||||
-Ddebuginfod=disabled \
|
||||
-Ddevelopment=false \
|
||||
-Dexamples=false \
|
||||
-Dgtk=false \
|
||||
-Dhelp=false \
|
||||
-Dinstall-static=false \
|
||||
-Dlibsysprof=true \
|
||||
-Dtests=false \
|
||||
-Dtools=true \
|
||||
-Dsystemdunitdir=/usr/lib/systemd/system
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
SYSPROF_DEPENDENCIES += systemd
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user