projects/*/options: make 'perf' support optional

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-05-25 14:59:58 +02:00
parent 876da6fca0
commit 934a597e34
12 changed files with 32 additions and 2 deletions

View File

@ -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

View File

@ -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/

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"