summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/crash/crash_8.0.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-kernel/crash/crash_8.0.6.bb')
-rw-r--r--meta-oe/recipes-kernel/crash/crash_8.0.6.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash_8.0.6.bb b/meta-oe/recipes-kernel/crash/crash_8.0.6.bb
new file mode 100644
index 0000000000..1af90978e0
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash_8.0.6.bb
@@ -0,0 +1,28 @@
1require crash.inc
2
3
4BBCLASSEXTEND = "native cross"
5
6EXTRA_OEMAKE:class-cross = 'RPMPKG="${PV}" \
7 GDB_TARGET="${BUILD_SYS} --target=${TARGET_SYS}" \
8 GDB_HOST="${BUILD_SYS}" \
9 GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
10 '
11
12EXTRA_OEMAKE:append:class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
13EXTRA_OEMAKE:append:class-cross = " LDFLAGS='${BUILD_LDFLAGS}'"
14
15do_install:class-target () {
16 oe_runmake DESTDIR=${D} install
17}
18
19do_install:class-native () {
20 oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install
21}
22
23do_install:class-cross () {
24 install -m 0755 ${S}/crash ${D}/${bindir}
25}
26
27RDEPENDS:${PN}:class-native = ""
28RDEPENDS:${PN}:class-cross = ""