Skip to content
Snippets Groups Projects

Merge building for revolution pi with libgpiod

Open Julian Grothoff requested to merge revpi into main
3 files
+ 5
4
Compare changes
  • Side-by-side
  • Inline

Files

+ 3
3
@@ -31,13 +31,13 @@ build:mwe:revpi:
stage: build
before_script:
- apt-get update -qq && apt-get install -y -qq libgpiod-dev gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
- sudo apt-get install -y -qq autoconf autoconf-archive libtool libtool-bin libkmod-dev pkg-config
- apt-get install -y -qq autoconf autoconf-archive libtool libtool-bin libkmod-dev pkg-config
#TODO install cross toolchains in image instead and check if all installs are realy necessary
script:
- mkdir build
# install libgpiod, TODO how to not install in /usr/...
# install libgpiod
- cd libgpiod
- ./autogen.sh --build=x86_64-linux-gnu --host=arm-linux-gnueabihf --prefix=$(CI_PROJECT_DIR)/build --enable-shared=no ac_cv_func_malloc_0_nonnull=yes
- ./autogen.sh --build=x86_64-linux-gnu --host=arm-linux-gnueabihf --prefix="$CI_PROJECT_DIR/build" --enable-shared=no ac_cv_func_malloc_0_nonnull=yes
- make
- make install
# build b4b_mwe
Loading