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,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
mkbootimg: mkbootimg.o
$(CXX) $(LDFLAGS) $< ${LIBS} -o $@
mkbootimg.o: mkbootimg.c bootimg.h
$(CC) $(INCLUDES) $(CFLAGS) -c $<
@@ -0,0 +1,30 @@
inherit native
PR = "r4"
MY_PN = "mkbootimg"
DESCRIPTION = "Boot image creation tool from Android"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=89aea4e17d99a7cacdbeed46a0096b10"
HOMEPAGE = "http://android.git.kernel.org/?p=platform/system/core.git"
PROVIDES = "mkbootimg-native"
DEPENDS = "libmincrypt-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}
}
EXTRA_OEMAKE = "INCLUDES='-Imincrypt' LIBS='${libdir}/mincrypt/libmincrypt.a'"
do_install() {
install -d ${D}${bindir}
install ${MY_PN} ${D}${bindir}
}
NATIVE_INSTALL_WORKS = "1"