meta-digi-arm: disable perf features only for kernel 2.6.35
Kernel 3.10 does not fail to build perf features (as kernel 2.6.35 does), so there is no need to disable them for platforms using that kernel version. https://jira.digi.com/browse/DEL-1418 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
e46757c866
commit
adb4611710
|
|
@ -7,6 +7,12 @@ include conf/machine/include/mxs-digi-base.inc
|
|||
DIGI_FAMILY = "ccardimx28"
|
||||
SOC_FAMILY = "mxs:mx28:${DIGI_FAMILY}"
|
||||
|
||||
# Disable perf features when using kernel 2.6.35 as perf fails to build otherwise
|
||||
python __anonymous() {
|
||||
if d.getVar('IS_KERNEL_2X', True) == '1':
|
||||
d.setVar('PERF_FEATURES_ENABLE', '')
|
||||
}
|
||||
|
||||
# Platform u-boot settings (IS_KERNEL_2X implies also u-boot v2009.08)
|
||||
UBOOT_BSTR = "${@base_conditional('IS_KERNEL_2X', '1' , '-ivt', '', d)}"
|
||||
UBOOT_ENTRYPOINT = "0x40008000"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ include conf/machine/include/tune-cortexa8.inc
|
|||
DIGI_FAMILY = "ccimx5:ccimx51"
|
||||
SOC_FAMILY = "mx5:mx51:${DIGI_FAMILY}"
|
||||
|
||||
# Disable perf features when using kernel 2.6.35 as perf fails to build otherwise
|
||||
PERF_FEATURES_ENABLE = ""
|
||||
|
||||
# Platform u-boot settings
|
||||
UBOOT_ENTRYPOINT = "0x90008000"
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ include conf/machine/include/tune-cortexa8.inc
|
|||
DIGI_FAMILY = "ccimx5:ccimx53"
|
||||
SOC_FAMILY = "mx5:mx53:${DIGI_FAMILY}"
|
||||
|
||||
# Disable perf features when using kernel 2.6.35 as perf fails to build otherwise
|
||||
PERF_FEATURES_ENABLE = ""
|
||||
|
||||
# Platform u-boot settings
|
||||
UBOOT_ENTRYPOINT = "0x70008000"
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
include conf/machine/include/digi-defaults.inc
|
||||
include conf/machine/include/soc-family.inc
|
||||
|
||||
# Disable perf features as 2.6.35.3 fail to build otherwise
|
||||
PERF_FEATURES_ENABLE = ""
|
||||
|
||||
XSERVER_DRIVER = "xf86-video-fbdev"
|
||||
XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
|
||||
XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
|
||||
|
|
|
|||
|
|
@ -3,9 +3,6 @@ include conf/machine/include/digi-defaults.inc
|
|||
include conf/machine/include/soc-family.inc
|
||||
include conf/machine/include/tune-arm926ejs.inc
|
||||
|
||||
# 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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue