File tree Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ platforms:
60
60
script_location : toolchain/ci
61
61
template_location : toolchain/cmake/Templates
62
62
version :
63
- hotfix : 28
63
+ hotfix : 29
64
64
major : 0
65
65
minor : 3
66
66
patch : 0
Original file line number Diff line number Diff line change @@ -490,6 +490,12 @@ if(OPENSSL_BUILD)
490
490
)
491
491
endif ()
492
492
493
+ if (BEAGLE)
494
+ list ( APPEND EXTRA_OPTS
495
+ /usr/local/gcc-arm/arm-none-linux-gnueabihf/libc/usr/lib/libc.a
496
+ )
497
+ endif ()
498
+
493
499
ExternalProject_Add ( OpenSSL
494
500
495
501
PREFIX ${CMAKE_BINARY_DIR} /openssl
@@ -514,6 +520,7 @@ if(OPENSSL_BUILD)
514
520
no -hw
515
521
no -engine
516
522
no -async
523
+ no -tests
517
524
518
525
--prefix =${CMAKE_BINARY_DIR} /install /openssl
519
526
--openssldir=${CMAKE_BINARY_DIR} /install /openssl/data
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function ( DEPENDENCY_GET )
22
22
endif ()
23
23
24
24
if ("${DEP_EXTENSION} " STREQUAL "" )
25
- set ( DEP_EXTENSION "tar.gz " )
25
+ set ( DEP_EXTENSION "tar.bz2 " )
26
26
if (WIN32 AND NOT MINGW)
27
27
set ( DEP_EXTENSION "zip" )
28
28
endif ()
Original file line number Diff line number Diff line change @@ -27,26 +27,41 @@ if(NOT SGX_SYSROOT)
27
27
# Contains EGL, GLESv2 etc.
28
28
set ( SGX_SYSROOT /sysroots/sgx-root )
29
29
endif ()
30
+ if (NOT DEB_SYSROOT)
31
+ # Contains sys libs for Wayland and DRM
32
+ set ( DEB_SYSROOT /sysroots/${TOOLCHAIN_ARCH} )
33
+ endif ()
30
34
31
35
set ( CMAKE_FIND_ROOT_PATH
32
36
${CMAKE_SYSROOT}
33
37
${CMAKE_SYSROOT} /usr
38
+ ${SGX_SYSROOT}
39
+ ${DEB_SYSROOT} /usr
40
+ ${DEB_SYSROOT}
34
41
)
35
42
36
43
set ( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
37
- set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
38
- set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
44
+ # set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
45
+ # set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
39
46
40
47
set ( CMAKE_LIBRARY_ARCHITECTURE "${TOOLCHAIN_ARCH} " CACHE STRING "" )
41
48
42
49
include_directories (
43
50
${LIBC_SYSROOT} /usr/include
44
51
${SGX_SYSROOT} /include
52
+ ${DEB_SYSROOT} /usr/include
45
53
)
46
54
link_directories (
47
55
${LIBC_SYSROOT} /lib
48
56
${LIBC_SYSROOT} /usr/lib
49
57
${SGX_SYSROOT} /lib
50
58
)
51
59
60
+ set ( CMAKE_LIBRARY_PATH
61
+ ${LIBC_SYSROOT} /lib
62
+ ${LIBC_SYSROOT} /usr/lib
63
+ ${SGX_SYSROOT} /lib
64
+ ${DEB_SYSROOT} /usr/lib/${TOOLCHAIN_ARCH}
65
+ )
66
+
52
67
add_definitions (-D__BEAGLEBONE__ -D__BEAGLEBONEBLACK__)
Original file line number Diff line number Diff line change @@ -1284,6 +1284,7 @@ beaglebone.black: FORCE
1284
1284
$(CMAKE_SOURCE_DIR) \
1285
1285
-C$(CMAKE_SOURCE_DIR)/toolchain/cmake/Preload/nothing.cmake \
1286
1286
-DBUILD_BINARIES=$(GENERATE_PROGRAMS) \
1287
+ -DBUILD_EGL=ON \
1287
1288
-DBUILD_GLES=ON \
1288
1289
-DBUILD_GLES_20=ON \
1289
1290
-DBUILD_OPENAL=OFF \
@@ -1316,6 +1317,7 @@ beaglebone.black.shell: FORCE
1316
1317
$(CMAKE_SOURCE_DIR) \
1317
1318
-C$(CMAKE_SOURCE_DIR)/toolchain/cmake/Preload/nothing.cmake \
1318
1319
-DBUILD_BINARIES=$(GENERATE_PROGRAMS) \
1320
+ -DBUILD_EGL=ON \
1319
1321
-DBUILD_GLES=ON \
1320
1322
-DBUILD_GLES_20=ON \
1321
1323
-DBUILD_OPENAL=OFF \
Original file line number Diff line number Diff line change @@ -97,4 +97,5 @@ gamecube.*:
97
97
- -DBUILD_OPENAL=OFF
98
98
- -DBUILD_OPENSSL=OFF
99
99
- -DBUILD_SDL2=OFF
100
+ - -DBUILD_EGL=ON
100
101
You can’t perform that action at this time.
0 commit comments