mfgtool ah 可以使用ninja编译

This commit is contained in:
2025-01-13 18:38:58 +08:00
parent b29b776229
commit 9e297aa436
9 changed files with 203 additions and 1 deletions

11
mfgtool/BUILD.gn Normal file
View File

@@ -0,0 +1,11 @@
group("mfgtools") {
deps = [
# This will expand to the name "//tutorial:tutorial" which is the full name
# of our new target. Run "gn help labels" for more.
# "//ah:aha",
"ah:aha"
]
}

13
mfgtool/ah/BUILD.gn Normal file
View File

@@ -0,0 +1,13 @@
executable("aha") {
sources = [
"add_header_v1.c",
"../ram/src/crc.c",
"../ram/src/sha256.c"
]
include_dirs = [
"../ram/inc",
"../../inc",
"../../inc/utils"
]
}