-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs: #98
- Loading branch information
Showing
17 changed files
with
137 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/3rd-parties | ||
/3rd-parties/gsl-2.7.1/ | ||
/3rd-parties/gsl-2.7.1.tar.gz | ||
/builddir | ||
/SDK_6.3.0 | ||
/SDK_6.8.0 | ||
/SDK-B288-6.8.7z | ||
/patchs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/builddir | ||
/crossfile_arm.ini | ||
/3rd-parties | ||
/data*.json | ||
/SDK_6.8.0 | ||
/SDK-B288-6.8.7z |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/gsl-2.7.1.tar.gz | ||
/gsl-2.7.1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b gsl-2.7.1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b924fbeba90e9258854e910c2c29a3105e6fb9c6e0e6de4cb13a015be3fc23e2 SDK-B288-6.8.7z |
Submodule SDK_6.3.0
deleted from
dd8de4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
*** env_set.sh.orig 2023-06-29 10:29:36.000000000 +0200 | ||
--- env_set.sh 2024-07-14 12:07:25.667451149 +0200 | ||
*************** | ||
*** 116,119 **** | ||
--- 116,129 ---- | ||
TOOLCHAIN_PREFIX=arm-obreey-linux-gnueabi | ||
WORKSPACE=/srv/Jenkins/workspace/fwbuilder-ng-2 | ||
+ | ||
+ # Required to cross-compile projects not using CMake | ||
+ CC=${CMAKE_C_COMPILER} | ||
+ CXX=${CMAKE_CXX_COMPILER} | ||
+ AR=${TOOLCHAIN_PATH}/bin/${TOOLCHAIN_PREFIX}-ar | ||
+ STRIP=${PB_STRIP} | ||
+ RANLIB=${TOOLCHAIN_PATH}/bin/${TOOLCHAIN_PREFIX}-ranlib | ||
+ PKGCONFIG=${TOOLCHAIN_PATH}/bin/pkg-config | ||
+ CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp" | ||
+ | ||
export BUILD_CFG | ||
export PB_CMAKE_FLAGS | ||
*************** | ||
*** 238,239 **** | ||
--- 248,256 ---- | ||
export PB_LCP_DRM | ||
export PB_USE_DROPBOX | ||
+ export CC | ||
+ export CXX | ||
+ export AR | ||
+ export STRIP | ||
+ export RANLIB | ||
+ export PKGCONFIG | ||
+ export CFLAGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SDK_PATH=SDK_6.8.0 | ||
SDK_ARCHIVE=SDK-B288-6.8.7z | ||
|
||
function download_archive() { | ||
echo Downloading ${SDK_ARCHIVE} | ||
wget -nv -O ${SDK_ARCHIVE} https://github.com/pocketbook/SDK_6.3.0/releases/download/6.8/${SDK_ARCHIVE} > /dev/null | ||
} | ||
|
||
function unpack() { | ||
sha256sum -c ${SDK_ARCHIVE}.sha256 | ||
|
||
7z x -o${SDK_PATH} ${SDK_ARCHIVE} | ||
} | ||
|
||
if [ ! -d ${SDK_PATH} ]; then | ||
if [ ! -e ${SDK_ARCHIVE} ]; then | ||
download_archive | ||
fi | ||
unpack | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--std=c++17 | ||
--language=c++ | ||
-I/home/matthias/Projets/taranis/SDK_6.3.0/SDK-B288/usr/arm-obreey-linux-gnueabi/lib/clang/7.0.0/include | ||
-I/home/matthias/Projets/taranis/SDK_6.3.0/SDK-B288/usr/arm-obreey-linux-gnueabi/include/c++/6.3.0 | ||
-I/home/matthias/Projets/taranis/SDK_6.3.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/include | ||
-I/home/matthias/Projets/taranis/SDK_6.3.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/usr/include | ||
-I/home/matthias/Projets/taranis/SDK_6.3.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/usr/local/include | ||
-I/home/matthias/Projets/taranis/SDK_6.8.0/SDK-B288/usr/arm-obreey-linux-gnueabi/lib/clang/7.0.0/include | ||
-I/home/matthias/Projets/taranis/SDK_6.8.0/SDK-B288/usr/arm-obreey-linux-gnueabi/include/c++/6.3.0 | ||
-I/home/matthias/Projets/taranis/SDK_6.8.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/include | ||
-I/home/matthias/Projets/taranis/SDK_6.8.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/usr/include | ||
-I/home/matthias/Projets/taranis/SDK_6.8.0/SDK-B288/usr/arm-obreey-linux-gnueabi/sysroot/usr/local/include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters