This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time make modules SUBDIRS=drivers/media/platform/vivid | |
Building modules, stage 2. | |
MODPOST 1 modules | |
CC drivers/media/platform/vivid/vivid.mod.o | |
LD [M] drivers/media/platform/vivid/vivid.ko | |
real 0m2.279s | |
user 0m0.847s | |
sys 0m0.924s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time make drivers/media/platform/vivid/vivid.ko | |
CHK include/config/kernel.release | |
CHK include/generated/uapi/linux/version.h | |
CHK include/generated/utsrelease.h | |
CHK include/generated/bounds.h | |
CHK include/generated/asm-offsets.h | |
CALL scripts/checksyscalls.sh | |
MODPOST 4059 modules | |
CC drivers/media/platform/vivid/vivid.mod.o | |
LD [M] drivers/media/platform/vivid/vivid.ko | |
real 2m26.061s | |
user 0m13.959s | |
sys 0m29.722s |
To update the module I just copy the .ko to the right place:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp /path/to/my/module/module.ko /lib/modules/`uname -r`/kernel/path/to/my/module/module.ko |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make modules_install SUBDIRS=drivers/media/platform/vivid |
No comments:
Post a Comment