diff --git a/packages/linux/build b/packages/linux/build index 2efeab1191..7fef96e8fa 100755 --- a/packages/linux/build +++ b/packages/linux/build @@ -65,7 +65,7 @@ if [ -d tools/power/cpupower ]; then ) fi -if [ "$DEVTOOLS" = yes ]; then +if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then ( cd tools/perf # dont use some optimizations because of build problems diff --git a/packages/linux/install b/packages/linux/install index 64dde95ab4..2517f5f19a 100755 --- a/packages/linux/install +++ b/packages/linux/install @@ -49,7 +49,7 @@ if [ -f $PKG_BUILD/tools/power/cpupower/cpupower ]; then cp -P $PKG_BUILD/tools/power/cpupower/cpupower $INSTALL/usr/bin fi -if [ "$DEVTOOLS" = "yes" ]; then +if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then mkdir -p $INSTALL/usr/bin cp -P $PKG_BUILD/tools/perf/perf $INSTALL/usr/bin/ diff --git a/projects/ARCTIC_MC/options b/projects/ARCTIC_MC/options index 961f8d27d2..64b6913fa9 100755 --- a/projects/ARCTIC_MC/options +++ b/projects/ARCTIC_MC/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/ATV/options b/projects/ATV/options index 35db0775e7..4b928f86d0 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Fusion/options b/projects/Fusion/options index 10920bb0a5..68774c960a 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Generic/options b/projects/Generic/options index ccfdd4b9cb..1ecc1bb60a 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index 0a98915464..320e30036e 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/ION/options b/projects/ION/options index ed0e8bf540..24f5cdbf24 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Intel/options b/projects/Intel/options index 30f899805e..bf4b486d1b 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/RPi/options b/projects/RPi/options index dd619d91b0..c77db212d2 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Ultra/options b/projects/Ultra/options index cbec77b21a..669719f069 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -341,6 +341,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no" diff --git a/projects/Virtual/options b/projects/Virtual/options index 15abc0c310..2ac310246d 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -336,6 +336,9 @@ # cron support (yes / no) CRON_SUPPORT="yes" +# Perf support in development builds (yes / no) + PERF_SUPPORT="yes" + # Coreboot support (yes / no) COREBOOT="no"