File tree Expand file tree Collapse file tree 4 files changed +20
-19
lines changed Expand file tree Collapse file tree 4 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 3
3
4
4
add_subdirectory (mbed-coap )
5
5
add_subdirectory (nanostack-libservice )
6
+ add_subdirectory (ppp )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ target_include_directories (mbed-os
5
+ PUBLIC
6
+ ${CMAKE_CURRENT_SOURCE_DIR}
7
+ ${CMAKE_CURRENT_SOURCE_DIR} /include
8
+ ${CMAKE_CURRENT_SOURCE_DIR} /include/polarssl
9
+ ${CMAKE_CURRENT_SOURCE_DIR} /include/ppp
10
+ )
11
+
4
12
target_sources (mbed-os
5
13
PRIVATE
6
- ppp_nsapi.cpp
7
- ppp_service.cpp
8
- ppp_service_if.cpp
9
-
10
- polarssl/ppp_arc4.c
11
- polarssl/ppp_des.c
12
- polarssl/ppp_md4.c
13
- polarssl/ppp_md5.c
14
- polarssl/ppp_sha1.c
15
-
16
14
source /auth.c
17
15
source /ccp.c
18
16
source /chap-md5.c
@@ -30,6 +28,8 @@ target_sources(mbed-os
30
28
source /multilink.c
31
29
source /ppp.c
32
30
source /ppp_ecp.c
31
+ source /ppp_service.cpp
32
+ source /ppp_service_if.cpp
33
33
source /pppapi.c
34
34
source /pppcrypt.c
35
35
source /pppoe.c
@@ -38,12 +38,10 @@ target_sources(mbed-os
38
38
source /upap.c
39
39
source /utils.c
40
40
source /vj.c
41
- )
42
41
43
-
44
- target_include_directories (mbed-os
45
- PUBLIC
46
- ${CMAKE_CURRENT_SOURCE_DIR}
47
- ${CMAKE_CURRENT_SOURCE_DIR} /include
48
- ${CMAKE_CURRENT_SOURCE_DIR} /include/polarssl
42
+ source /polarssl/ppp_arc4.c
43
+ source /polarssl/ppp_des.c
44
+ source /polarssl/ppp_md4.c
45
+ source /polarssl/ppp_md5.c
46
+ source /polarssl/ppp_sha1.c
49
47
)
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0
2
2
3
3
add_subdirectory (emac-drivers )
4
- add_subdirectory (ppp )
5
4
6
5
target_include_directories (mbed-os
7
6
PUBLIC
Original file line number Diff line number Diff line change @@ -18,5 +18,8 @@ add_subdirectory(source/TARGET_CORTEX)
18
18
target_include_directories (mbed-os
19
19
PUBLIC
20
20
${CMAKE_CURRENT_SOURCE_DIR}
21
- source
21
+ ${CMAKE_CURRENT_SOURCE_DIR} /include
22
+ ${CMAKE_CURRENT_SOURCE_DIR} /include/rtos
23
+ ${CMAKE_CURRENT_SOURCE_DIR} /include/rtos/internal
24
+ ${CMAKE_CURRENT_SOURCE_DIR} /source
22
25
)
You can’t perform that action at this time.
0 commit comments