metadata: name: ODP mdev format: "Lava-Test-Shell Test Definition 1.0" description: "Setup ODP with mediated devices support" version: 1.0 params: PUB_KEY: None IRC_SERVER: irc.freenode.net ODP_BRANCH: caterpillar BUILD_DIR: /root ODP_JOBS: 32 install: deps: - autotools-dev - autoconf - libtool - autogen - gcc - git - g++ - make - libssl-dev - libcunit1 - libcunit1-dev - libconfig-dev - m4 - pkg-config - uuid - uuid-runtime - locales-all run: steps: - echo "Build ODP kernel drivers" - git clone https://github.com/apalos/odp-linux-mdev.git - cd odp-linux-mdev && make -j32 && cd .. - mkdir -p /usr/include/uapi - cp odp-linux-mdev/include/uapi/linux/* /usr/include/uapi - echo "Build ODP" # add missing kernel headers - git clone https://github.com/Linaro/odp.git - cd odp - git checkout $ODP_BRANCH - ./bootstrap - autoreconf -i - ./configure --enable-debug --enable-debug-print --enable-mdev-support - make -j $ODP_JOBS - make install