128 | | * Example cross compiling on host for Newport via Newport BSP: |
129 | | {{{#!bash |
130 | | cd newport |
131 | | . ./setup-environment # activate cross-compile shell environment |
132 | | git clone https://github.com/cryptodev-linux/cryptodev-linux.git -b cryptodev-linux-1.10 |
133 | | KERNEL_DIR=$PWD/linux make -C cryptodev-linux |
134 | | KERNEL_DIR=$PWD/linux DESTDIR=$PWD/linux/install INSTALL_MOD_PATH=$PWD/linux/install make -C cryptodev-linux install |
135 | | tar cvzf cryptodev-linux.tar.gz -C $PWD/linux/install lib/modules/4.20.7-00006-gaf078a3/extra/cryptodev.ko usr/local/include/crypto/cryptodev.h |
136 | | }}} |
137 | | |
| 128 | * For examples cross compiling on host for Newport or Venice devices see the BSP Makefile |