!82 加入FatFs同时修正BUILD.gn中third_party路径

Merge pull request !82 from Caoruihong/fix_thirdparty_path
This commit is contained in:
openharmony_ci
2021-04-23 17:57:13 +08:00
committed by Gitee
17 changed files with 28 additions and 33 deletions
+1 -2
View File
@@ -34,7 +34,6 @@ static_library("backtrace") {
"../../kernel/include",
"../../kernel/arch/include",
"../../utils",
"./",
"//third_party/bounds_checking_function/include",
"../../third_party/bounds_checking_function/include",
]
}
+1 -4
View File
@@ -30,8 +30,5 @@
static_library("cppsupport") {
sources = [ "los_cppsupport.c" ]
include_dirs = [
"../../utils",
"./",
]
include_dirs = [ "../../utils" ]
}
+1 -2
View File
@@ -34,7 +34,6 @@ static_library("cpup") {
"../../kernel/include",
"../../kernel/arch/include",
"../../utils",
"./",
"//third_party/bounds_checking_function/include",
"../../third_party/bounds_checking_function/include",
]
}
+1 -2
View File
@@ -36,7 +36,6 @@ static_library("exchook") {
"../../kernel/arch/include",
"../../kernel/include",
"../../utils",
"./",
"//third_party/bounds_checking_function/include",
"../../third_party/bounds_checking_function/include",
]
}
+6 -4
View File
@@ -29,6 +29,10 @@
static_library("fatfs") {
sources = [
"../../../third_party/FatFs/source/diskio.c",
"../../../third_party/FatFs/source/ff.c",
"../../../third_party/FatFs/source/ffsystem.c",
"../../../third_party/FatFs/source/ffunicode.c",
"fatfs.c",
"fs.c",
]
@@ -38,10 +42,8 @@ static_library("fatfs") {
"../../../kernel/include",
"../../../utils",
"../../../kal/cmsis",
"../../../kal",
"../../../kal/posix/include",
"./",
"//third_party/bounds_checking_function/include",
"//third_party/FatFs/source/",
"../../../third_party/bounds_checking_function/include",
"../../../third_party/FatFs/source/",
]
}
+1 -1
View File
@@ -41,7 +41,7 @@
#include "securec.h"
#include "los_compiler.h"
#include "los_debug.h"
#include "cmsis_os.h"
#include "cmsis_os2.h"
#define FS_SUCCESS 0
#define FS_FAILURE (-1)