[meta-fsl-arm] perf: Only disable perf events for machines using 2.6.35.3.

Submitted by Gonzalez, Alex on Jan. 11, 2015, 9:31 p.m. | Patch ID: 86539

Details

Message ID 1421011876-16636-2-git-send-email-alex.gonzalez@digi.com
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Gonzalez, Alex Jan. 11, 2015, 9:31 p.m.
Newer kernels build fine with the default settings.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
---
 conf/machine/imx28evk.conf        | 3 +++
 conf/machine/imx51evk.conf        | 3 +++
 conf/machine/imx53ard.conf        | 3 +++
 conf/machine/imx53qsb.conf        | 3 +++
 conf/machine/include/imx-base.inc | 3 ---
 conf/machine/include/mxs-base.inc | 3 ---
 6 files changed, 12 insertions(+), 6 deletions(-)

Patch hide | download patch | download mbox

diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index 86123c315582..672e4587b5a0 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -8,6 +8,9 @@  include conf/machine/include/mxs-base.inc
 
 SOC_FAMILY = "mxs:mx28"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 IMXBOOTLETS_MACHINE = "iMX28_EVK"
 
 UBOOT_CONFIG ??= "sd"
diff --git a/conf/machine/imx51evk.conf b/conf/machine/imx51evk.conf
index d9aea7c0b677..9d7d06ca41fc 100644
--- a/conf/machine/imx51evk.conf
+++ b/conf/machine/imx51evk.conf
@@ -9,6 +9,9 @@  include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx51"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx51-babbage.dtb"
 
 UBOOT_MACHINE = "mx51evk_config"
diff --git a/conf/machine/imx53ard.conf b/conf/machine/imx53ard.conf
index 8a64e22b48ff..c338d6b5138b 100644
--- a/conf/machine/imx53ard.conf
+++ b/conf/machine/imx53ard.conf
@@ -9,6 +9,9 @@  include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx53"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx53-ard.dtb"
 
 UBOOT_MACHINE = "mx53ard_config"
diff --git a/conf/machine/imx53qsb.conf b/conf/machine/imx53qsb.conf
index 5df85a9e2c5b..0e7349e82dfe 100644
--- a/conf/machine/imx53qsb.conf
+++ b/conf/machine/imx53qsb.conf
@@ -9,6 +9,9 @@  include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx53"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx53-qsb.dtb imx53-qsrb.dtb"
 
 UBOOT_MACHINE = "mx53loco_config"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 301cd5c58848..5c3f618ac409 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -6,9 +6,6 @@  include conf/machine/include/fsl-default-providers.inc
 
 include conf/machine/include/soc-family.inc
 
-# Disable perf features as 2.6.35.3 fail to build otherwise
-PERF_FEATURES_ENABLE = ""
-
 # Set specific make target and binary suffix
 UBOOT_MAKE_TARGET = "u-boot.imx"
 UBOOT_SUFFIX ?= "imx"
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index 40cfa0f13d02..0314952013d3 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -15,9 +15,6 @@  UBOOT_ENTRYPOINT = "0x40008000"
 UBOOT_MAKE_TARGET = "u-boot.sb"
 UBOOT_SUFFIX = "sb"
 
-# Disable perf features as 2.6.35.3 fail to build otherwise
-PERF_FEATURES_ENABLE_mx28 = ""
-
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
            xf86-video-fbdev"