qemu_v8: Add linux-modules target for building kernel modules

To avoid initramfs becoming huge with modules they
can be mounted from host into the guest filesystem.

(host)
make linux-modules
make QEMU_VIRTFS_ENABLE=y QEMU_USERNET_ENABLE=y run-only

(qemu guest)
mount -t 9p -o trans=virtio host /host
ln -s /host/out/kernel_modules/lib/modules/ /lib/modules
modprobe virtio-video

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
1 file changed
tree: 7d388671920cb5b0066ed4052c2851fb9bf48e5a
  1. .github/
  2. br-ext/
  3. fvp/
  4. imx/
  5. kconfigs/
  6. rpi3/
  7. ti/
  8. zynqmp/
  9. .gitignore
  10. am43xx.mk
  11. am57xx.mk
  12. common.mk
  13. dra7xx.mk
  14. fvp.mk
  15. get_clang.sh
  16. hikey.mk
  17. hikey960.mk
  18. imx.mk
  19. juno.mk
  20. poplar.mk
  21. qemu-check.exp
  22. qemu.mk
  23. qemu_v8.mk
  24. README.md
  25. rpi3.mk
  26. stm32mp1.mk
  27. synquacer.mk
  28. toolchain.mk
  29. verdin.mk
  30. zynqmp.mk
README.md

OP-TEE build.git

This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.

// OP-TEE core maintainers