May 2019
Intermediate to advanced
356 pages
9h 6m
English
To test the code presented in the recipe in the chapter and to show how everything works, we have to compile it before any further steps are taken:
$ make KERNEL_DIR=../../../linuxmake -C ../../../linux \ ARCH=arm64 \ CROSS_COMPILE=aarch64-linux-gnu- \ SUBDIRS=/home/giometti/Projects/ldddc/github/chapter_4/chrdev modulesmake[1]: Entering directory '/home/giometti/Projects/ldddc/linux' CC [M] /home/giometti/Projects/ldddc/github/chapter_4/chrdev/chrdev.o CC [M] /home/giometti/Projects/ldddc/github/chapter_4/chrdev/chrdev-req.o... LD [M] /home/giometti/Projects/ldddc/github/chapter_4/chrdev/chrdev.komake[1]: Leaving directory '/home/giometti/Projects/ldddc/linux'
Then, we have to move the
Read now
Unlock full access