Find the answer to your Linux question:
Results 1 to 2 of 2
I need to build a kernel driver from next-20100415 source tree, but ended up getting built-in.o and ***.o files in driver directory. (1) How to convert the .o file to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    Question A general build problem


    I need to build a kernel driver from next-20100415 source tree, but ended up
    getting built-in.o and ***.o files in driver directory.

    (1) How to convert the .o file to .ko file and install on the system ?
    (2) Is there any short cut to build the driver only without building the
    whole source tree ?
    Last edited by henryz21651; 04-21-2010 at 05:23 AM. Reason: Incomplete

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,709
    A look at the Makefile would help.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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