aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/lttng/lttng-modules_2.3.3.bbappend
blob: 5415f16eecdb8d0c6d06941bd2baa4d3ee964212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inherit distro_features_check

REQUIRED_DISTRO_FEATURES_append_e6500 ?= "multiarch"

python () {

        promote_kernel = d.getVar('BUILD_64BIT_KERNEL')

        if promote_kernel == "1":
                d.appendVar('KERNEL_CC', ' -m64')
                d.appendVar('KERNEL_LD', ' -melf64ppc')

        
        error_qa = d.getVar('ERROR_QA', True)
        if 'arch' in error_qa:
            d.setVar('ERROR_QA', error_qa.replace(' arch', ''))

}