Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question about kernel compilation


    I have one more question as follows:

    When i do "make menuconfig" and i configure the some driver as "M"

    during kernel compilation i am getting like this in one of the line (output during make)

    LD drivers/usb/gadget/built-in.o

    I was not getting .ko files. Now the thing is when i loaded the kernel image on to board, How do i load this driver as i configured the driver as "M" during kernel config.

    why .ko files are not there?


  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    The .o files are the immediate output of the compiler. The linker ld links them together to make the modules, which do indeed have the .ko suffix. The command make or make all should do this automatically after the actual compilation. You will then need to do make modules_install to copy the modules to their final destination.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts