summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/lttng
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:59:10 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:13:09 +0200
commite064c208e2c78663b0be1316117d963798839d6e (patch)
treed5d7bb0e950e5d6960d464f96f82f8132b8225c8 /recipes-kernel/lttng
downloadmeta-fsl-ppc-daisy-enea.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/lttng')
-rw-r--r--recipes-kernel/lttng/lttng-modules_%.bbappend18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/lttng/lttng-modules_%.bbappend b/recipes-kernel/lttng/lttng-modules_%.bbappend
new file mode 100644
index 0000000..5415f16
--- /dev/null
+++ b/recipes-kernel/lttng/lttng-modules_%.bbappend
@@ -0,0 +1,18 @@
1inherit distro_features_check
2
3REQUIRED_DISTRO_FEATURES_append_e6500 ?= "multiarch"
4
5python () {
6
7 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
8
9 if promote_kernel == "1":
10 d.appendVar('KERNEL_CC', ' -m64')
11 d.appendVar('KERNEL_LD', ' -melf64ppc')
12
13
14 error_qa = d.getVar('ERROR_QA', True)
15 if 'arch' in error_qa:
16 d.setVar('ERROR_QA', error_qa.replace(' arch', ''))
17
18}