diff options
Diffstat (limited to 'recipes-bsp/ipc/ipc-modules.inc')
-rw-r--r-- | recipes-bsp/ipc/ipc-modules.inc | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/recipes-bsp/ipc/ipc-modules.inc b/recipes-bsp/ipc/ipc-modules.inc index 015a91b..3d7dfa6 100644 --- a/recipes-bsp/ipc/ipc-modules.inc +++ b/recipes-bsp/ipc/ipc-modules.inc | |||
@@ -5,27 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10" | |||
5 | 5 | ||
6 | require ipc.inc | 6 | require ipc.inc |
7 | 7 | ||
8 | inherit module | 8 | inherit module qoriq_build_64bit_kernel |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | python () { | ||
12 | ma = d.getVar("DISTRO_FEATURES", True) | ||
13 | arch = d.getVar("OVERRIDES", True) | ||
14 | |||
15 | # the : after the arch is to skip the message on 64b | ||
16 | if not "multiarch" in ma and ("e5500:" in arch or "e6500:" in arch): | ||
17 | raise bb.parse.SkipPackage("Building the kernel for this arch requires multiarch to be in DISTRO_FEATURES") | ||
18 | |||
19 | promote_kernel = d.getVar('BUILD_64BIT_KERNEL') | ||
20 | |||
21 | if promote_kernel == "1": | ||
22 | d.setVar('KERNEL_CC_append', ' -m64') | ||
23 | d.setVar('KERNEL_LD_append', ' -melf64ppc') | ||
24 | |||
25 | error_qa = d.getVar('ERROR_QA', True) | ||
26 | if 'arch' in error_qa: | ||
27 | d.setVar('ERROR_QA', error_qa.replace(' arch', '')) | ||
28 | } | ||
29 | 11 | ||
30 | do_compile_prepend () { | 12 | do_compile_prepend () { |
31 | cd ${S}/kernel | 13 | cd ${S}/kernel |