@@ -31,7 +31,7 if [ "$ENABLE_VIDEOCORE" = true ] ; then | |||||
31 | mkdir "${R}"/tmp/userland/build |
|
31 | mkdir "${R}"/tmp/userland/build | |
32 |
|
32 | |||
33 | # push us to build directory |
|
33 | # push us to build directory | |
34 |
|
|
34 | cd "${R}"/tmp/userland/build | |
35 |
|
35 | |||
36 | if [ "$RELEASE_ARCH" = "arm64" ] ; then |
|
36 | if [ "$RELEASE_ARCH" = "arm64" ] ; then | |
37 | cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_BUILD_TYPE=release -DARM64=ON -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_ASM_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE" -DCMAKE_ASM_FLAGS="${CMAKE_ASM_FLAGS} -c" -DVIDEOCORE_BUILD_DIR="${R}" "${R}/tmp/userland" |
|
37 | cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_BUILD_TYPE=release -DARM64=ON -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_ASM_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE" -DCMAKE_ASM_FLAGS="${CMAKE_ASM_FLAGS} -c" -DVIDEOCORE_BUILD_DIR="${R}" "${R}/tmp/userland" | |
@@ -48,6 +48,6 if [ "$ENABLE_VIDEOCORE" = true ] ; then | |||||
48 | #build userland |
|
48 | #build userland | |
49 | make -j "$(nproc)" |
|
49 | make -j "$(nproc)" | |
50 |
|
50 | |||
51 | #pop us out of build dir |
|
51 | #back to root of scriptdir | |
52 | popd |
|
52 | cd "${WORKDIR} | |
53 |
|
|
53 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant