Hi, I browse through the whole net looking how to build a single module from drivers/staging. Tried this on /usr/src/linux: make M=drivers/staging/xgifb/ modules And it worked... root@zeta-pc:/usr/src/linux# make M=drivers/staging/xgifb/ modules CC [M] drivers/staging/xgifb/XGI_main_26.o CC [M] drivers/staging/xgifb/vb_init.o CC [M] drivers/staging/xgifb/vb_setmode.o CC [M] drivers/staging/xgifb/vb_util.o CC [M] drivers/staging/xgifb/vb_ext.o LD [M] drivers/staging/xgifb/xgifb.o Building modules, stage 2. MODPOST 1 modules CC drivers/staging/xgifb/xgifb.mod.o LD [M] drivers/staging/xgifb/xgifb.ko Now when I try another one it does not work: root@zeta-pc:/usr/src/linux# make M=drivers/staging/sm7xx modules Building modules, stage 2. MODPOST 0 modules root@zeta-pc:/usr/src/linux# make drivers/staging/sm7xx/ CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh I think maybe this is because I need to enable the module by on config. Am I right? Ezequiel. |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies