M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
@@ -0,0 +1,25 @@
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"
@@ -0,0 +1,8 @@
# This relies on ${LIBS} for an appropriate path to libmincrypt.a. The path in
# the Android tree is
# out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a
dtbtool: dtbtool.o
$(CXX) $(LDFLAGS) $< ${LIBS} -o $@
dtbtool.o: dtbtool.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<