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.
206 lines
3.8 KiB
206 lines
3.8 KiB
cc_binary {
|
|
name: "sample_spi_write",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"sample_spi_write.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_spi_headers",
|
|
"drv_generic_headers",
|
|
"drv_spi_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_spi",
|
|
"libuapi_common",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|
|
|
|
cc_binary {
|
|
name: "sample_spi_read",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"sample_spi_read.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_spi_headers",
|
|
"drv_generic_headers",
|
|
"drv_spi_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_spi",
|
|
"libuapi_common",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|
|
|
|
|
|
cc_binary {
|
|
name: "sample_spi_loopback",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"sample_spi_loopback.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_spi_headers",
|
|
"drv_generic_headers",
|
|
"drv_spi_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_spi",
|
|
"libuapi_common",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|
|
|
|
cc_binary {
|
|
name: "spi_tools",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"spi_tools.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_spi_headers",
|
|
"drv_generic_headers",
|
|
"drv_spi_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_spi",
|
|
"libuapi_common",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|
|
|
|
cc_binary {
|
|
name: "spi_ctl",
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"spi_ctl.c",
|
|
],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libuapi_spi_headers",
|
|
"drv_generic_headers",
|
|
"drv_spi_headers",
|
|
"libuapi_common_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libuapi_securec",
|
|
"libuapi_spi",
|
|
"libuapi_common",
|
|
],
|
|
|
|
cflags: [
|
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-Werror",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-Wall",
|
|
"-O2",
|
|
],
|
|
clang: true,
|
|
}
|