Skip to content

Commit

Permalink
Install littlefs also for Linux (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKa authored Apr 21, 2024
2 parents 3493ed7 + b19fe3e commit af7eee8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,17 @@ else
fi
cd ..


if [[ $1 == "cobc" ]]; then
cd littlefs
cd littlefs
if [[ $1 == "linux" ]]; then
cmake --toolchain ../linux-x86.cmake -S . -B build/linux-x86
cmake --build build/linux-x86
sudo cmake --install build/linux-x86
else
cmake --toolchain ../stm32f411.cmake -S . -B build/cobc
cmake --build ./build/cobc
sudo cmake --install build/cobc --prefix "$2"
cd ..
fi
cd ..

if [[ $1 == "linux" ]]; then
cd include-what-you-use
Expand Down

0 comments on commit af7eee8

Please sign in to comment.