mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
projects/*/options: make 'perf' support optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
876da6fca0
commit
934a597e34
@ -65,7 +65,7 @@ if [ -d tools/power/cpupower ]; then
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEVTOOLS" = yes ]; then
|
if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then
|
||||||
( cd tools/perf
|
( cd tools/perf
|
||||||
|
|
||||||
# dont use some optimizations because of build problems
|
# dont use some optimizations because of build problems
|
||||||
|
@ -49,7 +49,7 @@ if [ -f $PKG_BUILD/tools/power/cpupower/cpupower ]; then
|
|||||||
cp -P $PKG_BUILD/tools/power/cpupower/cpupower $INSTALL/usr/bin
|
cp -P $PKG_BUILD/tools/power/cpupower/cpupower $INSTALL/usr/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEVTOOLS" = "yes" ]; then
|
if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp -P $PKG_BUILD/tools/perf/perf $INSTALL/usr/bin/
|
cp -P $PKG_BUILD/tools/perf/perf $INSTALL/usr/bin/
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -341,6 +341,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
@ -336,6 +336,9 @@
|
|||||||
# cron support (yes / no)
|
# cron support (yes / no)
|
||||||
CRON_SUPPORT="yes"
|
CRON_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Perf support in development builds (yes / no)
|
||||||
|
PERF_SUPPORT="yes"
|
||||||
|
|
||||||
# Coreboot support (yes / no)
|
# Coreboot support (yes / no)
|
||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user