From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de, Matthias Klein <matthias.klein@optimeas.de>
Subject: Re: [ptxdist] install_copy without strip
Date: Wed, 13 Nov 2013 13:45:03 +0100 [thread overview]
Message-ID: <5283744F.1030109@pengutronix.de> (raw)
In-Reply-To: <emcc834bbd-3b86-4ba7-b952-aeb52d45fb02@nb-mak>
[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]
On 11/13/2013 12:40 PM, Matthias Klein wrote:
> Hello,
>
> I try to copy a self compiled kernel module using "install_copy" into
> the rootfs. (inside a rule makefile)
>
> Basically the file gets copied, but the file is smaller and can not ne
> inserted using insmod.
> It looks that install_copy runs strip or something overmy file.
>
> How can I make a plain file copy into the rootfs ?
> Where in ptxdist is "install_copy" defined ?
Use install_copy with the "k" parameter, like defined in rules/kernel.make:
$(call install_copy, kernel-modules, 0, 0, 0644, -, /$${file}, k)
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2013-11-13 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 11:40 Matthias Klein
2013-11-13 12:45 ` Marc Kleine-Budde [this message]
2013-11-14 14:03 ` Matthias Klein
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=5283744F.1030109@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=matthias.klein@optimeas.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