mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 06:37:56 +00:00
* as oe-core did in: https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab * when people are have to maintain own PRs for recipes in oe-core, they might add them for meta-oe recipes at the same time when upgrading to next LTS Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 lines
753 B
BlitzBasic
29 lines
753 B
BlitzBasic
require crash.inc
|
|
|
|
|
|
BBCLASSEXTEND = "native cross"
|
|
|
|
EXTRA_OEMAKE:class-cross = 'RPMPKG="${PV}" \
|
|
GDB_TARGET="${BUILD_SYS} --target=${TARGET_SYS}" \
|
|
GDB_HOST="${BUILD_SYS}" \
|
|
GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
|
|
'
|
|
|
|
EXTRA_OEMAKE:append:class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
|
|
EXTRA_OEMAKE:append:class-cross = " LDFLAGS='${BUILD_LDFLAGS}'"
|
|
|
|
do_install:class-target () {
|
|
oe_runmake DESTDIR=${D} install
|
|
}
|
|
|
|
do_install:class-native () {
|
|
oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install
|
|
}
|
|
|
|
do_install:class-cross () {
|
|
install -m 0755 ${S}/crash ${D}/${bindir}
|
|
}
|
|
|
|
RDEPENDS:${PN}:class-native = ""
|
|
RDEPENDS:${PN}:class-cross = ""
|