fbt: fixed include paths; added PVS-Studio configuration (#1615)
* fbt: fixed include paths for generated version header * lib: STM32CubeWB: refactored & cleaned up WPAN include paths * hal: linter fixes for new headers * fbt: added version_json target * Added .pvsconfig; split common_defines.h into 2 files * Added PVS-Studio basic configuration files; updated .gitignore Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -29,6 +29,7 @@ build_version = libenv.VersionBuilder(
|
||||
fw_version_json = libenv.InstallAs(
|
||||
"${BUILD_DIR}/${FIRMWARE_BUILD_CFG}.json", "version.json"
|
||||
)
|
||||
Alias("version_json", fw_version_json)
|
||||
env.Append(FW_VERSION_JSON=fw_version_json)
|
||||
|
||||
# Default(fw_version_json)
|
||||
@@ -40,7 +41,7 @@ if not version_depends:
|
||||
|
||||
sources = libenv.GlobRecursive("*.c")
|
||||
|
||||
libenv.Append(CPPPATH=["."])
|
||||
libenv.Append(CPPPATH=[libenv.Dir(".")])
|
||||
|
||||
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||||
libenv.Install("${LIB_DIST_DIR}", lib)
|
||||
|
Reference in New Issue
Block a user