|
@@ -6,6 +6,8 @@ config BR2_PACKAGE_OPROFILE
|
|
|
select BR2_PACKAGE_LIBPFM4 if BR2_powerpc
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
depends on !BR2_aarch64 # binutils
|
|
|
+ # libpfm4 is needed on PowerPC, and requires thread support
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
|
|
|
help
|
|
|
OProfile is a system-wide profiler for Linux systems,
|
|
|
capable of profiling all running code at low overhead.
|
|
@@ -25,3 +27,7 @@ config BR2_PACKAGE_OPROFILE
|
|
|
comment "oprofile needs a toolchain w/ C++"
|
|
|
depends on BR2_USE_MMU && !BR2_aarch64
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
|
|
+
|
|
|
+comment "oprofile needs a toolchain w/ threads on PPC"
|
|
|
+ depends on BR2_USE_MMU && BR2_powerpc
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
|