M7350/oe-core/meta-msm/recipes/dtbtool/dtbtool-native_git.bb

26 lines
576 B
BlitzBasic
Raw Normal View History

2024-09-09 08:52:07 +00:00
inherit native
PR = "r1"
MY_PN = "dtbtool"
DESCRIPTION = "Boot image creation tool from Android"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=89aea4e17d99a7cacdbeed46a0096b10"
PROVIDES = "dtbtool-native"
# Handle do_fetch ourselves... The automated tools don't work nicely with this...
do_fetch () {
install -d ${S}
cp -rf ${WORKSPACE}/system/core/${MY_PN}/* ${S}
cp -f ${THISDIR}/files/makefile ${S}
}
do_install() {
install -d ${D}${bindir}
install ${MY_PN} ${D}${bindir}
}
NATIVE_INSTALL_WORKS = "1"