Skip to content

Commit 13c4102

Browse files
committed
[update] ax_msp
1 parent 422ed2f commit 13c4102

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vscode/settings.json
2-
projects/core135_llm_product_test_ui
2+
projects/core135_llm_product_test_ui
3+
projects/imx678_test

ext_components/ax_msp/SConstruct

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,18 @@ if 'CONFIG_AX_620E_MSP_ENABLED' in os.environ:
1717
LDFLAGS=[]
1818
LINK_SEARCH_PATH=[]
1919

20-
INCLUDE += [os.path.join(MSP_PATH, 'out/arm64_glibc/include'), os.path.join(MSP_PATH, 'sample/common')]
20+
env["MSP_PATH"] = MSP_PATH
21+
INCLUDE += [os.path.join(MSP_PATH, 'out/arm64_glibc/include'), os.path.join(MSP_PATH, 'sample'), os.path.join(MSP_PATH, 'sample/common'), os.path.join(MSP_PATH, 'sample/rtsp')]
2122
LINK_SEARCH_PATH += [os.path.join(MSP_PATH, 'out/arm64_glibc/lib')]
2223
REQUIREMENTS += ['dl', 'm', 'pthread']
23-
third_party = ['cmdline','drm','faac','fdk-aac','ffmpeg','libsamplerate','live','mp4','opencv','openssl','optee','opus','swupdate','tinyalsa']
24+
third_party = ['drm','faac','fdk-aac','ffmpeg','libsamplerate','mp4','opencv','opus','tinyalsa']
2425
for dirn in third_party:
2526
INCLUDE.append(os.path.join(MSP_PATH,'third-party',dirn,'include'))
2627
LINK_SEARCH_PATH.append(os.path.join(MSP_PATH,'third-party',dirn,'lib/arm64/glibc'))
27-
28+
INCLUDE.append(os.path.join(MSP_PATH,'third-party/live/out/arm64/glibc/include'))
29+
LINK_SEARCH_PATH.append(os.path.join(MSP_PATH,'third-party/live/out/arm64/glibc/lib'))
30+
INCLUDE.append(os.path.join(MSP_PATH,'third-party/openssl/arm64/include'))
31+
LINK_SEARCH_PATH.append(os.path.join(MSP_PATH,'third-party/openssl/arm64/glibc/lib'))
2832
LINK_SEARCH_PATH.append(os.path.join(MSP_PATH,'app/lib'))
2933

3034
env['COMPONENTS'].append({'target':os.path.basename(env['component_dir']),

0 commit comments

Comments
 (0)