summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/qoriq-debug/qoriq-debug_git.bb
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:41:56 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:41:56 +0100
commit177ef53047019757b70b5ca87171b2c88e26ba07 (patch)
tree70e3284e64755ae93c130e00f810ba5c501801b9 /recipes-kernel/qoriq-debug/qoriq-debug_git.bb
downloadmeta-fsl-ppc-enea_linux_3.tar.gz
initial commit of Enea Linux 3.1enea_linux_3
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/qoriq-debug/qoriq-debug_git.bb')
-rw-r--r--recipes-kernel/qoriq-debug/qoriq-debug_git.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/qoriq-debug/qoriq-debug_git.bb b/recipes-kernel/qoriq-debug/qoriq-debug_git.bb
new file mode 100644
index 0000000..a8d2e96
--- /dev/null
+++ b/recipes-kernel/qoriq-debug/qoriq-debug_git.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "QorIQ Debug File System Module"
2SECTION = "qoriq-debug"
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e29234dd5d40dc352cc60cc0c93437ba"
5
6inherit module autotools
7
8SRC_URI = "git://git.freescale.com/ppc/sdk/qoriq-debug.git"
9SRCREV = "08de2902af9a79ba9e436a284b8d7754b351f608"
10
11S = "${WORKDIR}/git"
12
13EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR}"
14EXTRA_OEMAKE += 'SYSROOT="${D}"'
15
16python () {
17 ma = d.getVar("DISTRO_FEATURES", True)
18 arch = d.getVar("OVERRIDES", True)
19
20 # the : after the arch is to skip the message on 64b
21 if not "multiarch" in ma and ("e5500:" in arch or "e6500:" in arch):
22 raise bb.parse.SkipPackage("Building the kernel for this arch requires multiarch to be in DISTRO_FEATURES")
23
24 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
25
26 if promote_kernel == "1":
27 d.setVar('KERNEL_CC_append', ' -m64')
28 d.setVar('KERNEL_LD_append', ' -melf64ppc')
29
30 error_qa = d.getVar('ERROR_QA', True)
31 if 'arch' in error_qa:
32 d.setVar('ERROR_QA', error_qa.replace(' arch', ''))
33}
34