mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Howto integrate custom kernel module into the kernel_modules*.ipk package
Date: Mon, 8 Apr 2013 11:31:53 +0200	[thread overview]
Message-ID: <20130408093153.GA32214@pengutronix.de> (raw)
In-Reply-To: <515EB9D5.5030704@optimeas.de>

Hi,

On Fri, Apr 05, 2013 at 01:47:33PM +0200, Matthias Klein wrote:
> I have a custom kernel module which doesn't came with a nice
> Makefile for integration into ptxdist.
> I had no problem to create a rule file around the build process for
> that module.
> 
> But I don't know how to get my finish compiled *.ko file
> automatically into the kernel_modules package for depmod etc., as
> with the rules/Makefiles from a "src-linux-driver" skeleton.
> 
> 
> To which location must I copy the module, and which scripts or
> commands do I have to execute in my rule file ?

platform-*/packages/linux-*/lib/modules/*/extra/

Make sure you start with the src-linux-driver template. It adds an extra
dependency to make this work.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-04-08  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-05 11:47 Matthias Klein
2013-04-08  9:31 ` Michael Olbrich [this message]
2013-04-08 12:19   ` Matthias Klein
2013-04-08 12:34     ` Marc Kleine-Budde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130408093153.GA32214@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox