1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
prebuilt_lib.go Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
prebuilt_obj.go Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

Prebuilt modules written by Rockchip.

Example:

  • Shared libaries
cc_rockchip_prebuilt_library_shared {
    name: "libteec",
    strip: {
        none: true,
    },
    check_elf_files: false,
    vendor: true,
    // optional
    optee: true,
    vpu: true,
}

Libs would be built: optee: true -> v1(or v2 only for RK3326)/arm(64)/$(name).so vpu: true -> arm(64)/mpp_dev(only for vpu2)/$(name).so Libs would be placed: system(vendor)/lib(64)/$(name).so

  • Binaries
cc_rockchip_prebuilt_binary {
    name: "tee-supplicant",
    strip: {
        none: true,
    },
    check_elf_files: false,
    vendor: true,
    optee: true,
}

Binaries would be built: optee: true -> v1(or v2 only for RK3326)/arm(64)/$(name) Binaries would be placed: system(vendor)/bin/$(name)

  • Other files
cc_rockchip_prebuilt_obj {
    name: "1.ta",
    src: "1.ta", // Will be set to $(name) if not set
    vendor: true,
    optee: true,
    sub_dir: "lib/optee_armtz",
}

Objects would be copy from: optee: true -> v1(or v2 only for RK3326)/ta/(name) or (src) optee: false -> (name) or (src) Objects would be placed: system(vendor, recovery or ramdisk)/(sub_dir)/(name)