Do not include bootloader in flash target when secure boot is enabled. Emit signing warning on all cases where signed apps are enabled (secure boot and signed images) Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY variable, since it is relevant to other components, not just bootloader. Pass signing key and verification key via config, not requiring bootloader to know parent app dir. Misc. variables name corrections
29 lines
990 B
CMake
29 lines
990 B
CMake
set(srcs
|
|
"nghttp2/lib/nghttp2_buf.c"
|
|
"nghttp2/lib/nghttp2_callbacks.c"
|
|
"nghttp2/lib/nghttp2_debug.c"
|
|
"nghttp2/lib/nghttp2_frame.c"
|
|
"nghttp2/lib/nghttp2_hd.c"
|
|
"nghttp2/lib/nghttp2_hd_huffman.c"
|
|
"nghttp2/lib/nghttp2_hd_huffman_data.c"
|
|
"nghttp2/lib/nghttp2_helper.c"
|
|
"nghttp2/lib/nghttp2_http.c"
|
|
"nghttp2/lib/nghttp2_map.c"
|
|
"nghttp2/lib/nghttp2_mem.c"
|
|
"nghttp2/lib/nghttp2_npn.c"
|
|
"nghttp2/lib/nghttp2_option.c"
|
|
"nghttp2/lib/nghttp2_outbound_item.c"
|
|
"nghttp2/lib/nghttp2_pq.c"
|
|
"nghttp2/lib/nghttp2_priority_spec.c"
|
|
"nghttp2/lib/nghttp2_queue.c"
|
|
"nghttp2/lib/nghttp2_rcbuf.c"
|
|
"nghttp2/lib/nghttp2_session.c"
|
|
"nghttp2/lib/nghttp2_stream.c"
|
|
"nghttp2/lib/nghttp2_submit.c"
|
|
"nghttp2/lib/nghttp2_version.c"
|
|
"port/http_parser.c")
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
INCLUDE_DIRS port/include nghttp2/lib/includes)
|
|
|
|
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DHAVE_CONFIG_H")
|