diff options
Diffstat (limited to 'meta-oe/recipes-kernel/crash/crash_8.0.5.bb')
| -rw-r--r-- | meta-oe/recipes-kernel/crash/crash_8.0.5.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash_8.0.5.bb b/meta-oe/recipes-kernel/crash/crash_8.0.5.bb new file mode 100644 index 0000000000..1af90978e0 --- /dev/null +++ b/meta-oe/recipes-kernel/crash/crash_8.0.5.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | require crash.inc | ||
| 2 | |||
| 3 | |||
| 4 | BBCLASSEXTEND = "native cross" | ||
| 5 | |||
| 6 | EXTRA_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 | |||
| 12 | EXTRA_OEMAKE:append:class-native = " LDFLAGS='${BUILD_LDFLAGS}'" | ||
| 13 | EXTRA_OEMAKE:append:class-cross = " LDFLAGS='${BUILD_LDFLAGS}'" | ||
| 14 | |||
| 15 | do_install:class-target () { | ||
| 16 | oe_runmake DESTDIR=${D} install | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:class-native () { | ||
| 20 | oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install:class-cross () { | ||
| 24 | install -m 0755 ${S}/crash ${D}/${bindir} | ||
| 25 | } | ||
| 26 | |||
| 27 | RDEPENDS:${PN}:class-native = "" | ||
| 28 | RDEPENDS:${PN}:class-cross = "" | ||
