Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, All of us know that a package called linux-headers-($(uname -r)) is installed in /usr/src/ directory. Now I have linux source and my requirement is to make a package just ...
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    11

    Exclamation Generating Linux Headers from linux source

    Hello,
    All of us know that a package called linux-headers-($(uname -r)) is installed in /usr/src/ directory.
    Now I have linux source and my requirement is to make a package just like linux-headers as mentioned above..

    I tried headers_install and prepare options but never got desired results..

    Plz can anybody help...

  2. #2
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    In the kernel source directory run:
    make headers_check
    make INSTALL_HDR_PATH=dest headers_install
    cp -rv dest/include/* /whatever-directory

Posting Permissions

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