Closed mmlb closed 8 years ago
Hmm, this will install the module in /lib/module/kernel-version/extra/$pwd. Is that really the default behaviour?
Not quite, I'm getting /lib/modules/$(uname -r)/extra/facetimehd.ko.gz
, you can test it out by doing
make INSTALL_MOD_PATH=$PWD/destdir install
I'm pretty sure the build system figures it out from obj-m
.
I made the makefile by mashing http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt#L102 together with http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt#L175
ping @patjak ?
Sorry for the delay. make install
with this patch applied installed in the wrong directory for me so something is wrong.
@patjak no worries, I probably should have closed this in favor of #73 already being merged in
@patjak ping?