@@ -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