* [ptxdist] install_copy without strip
@ 2013-11-13 11:40 Matthias Klein
2013-11-13 12:45 ` Marc Kleine-Budde
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Klein @ 2013-11-13 11:40 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 497 bytes --]
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 ?
(I don't want to integrate my module into the kernel tree or kernel
package)
Best regards,
Matthias
[-- Attachment #1.2: Type: text/html, Size: 1833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] install_copy without strip
2013-11-13 11:40 [ptxdist] install_copy without strip Matthias Klein
@ 2013-11-13 12:45 ` Marc Kleine-Budde
2013-11-14 14:03 ` Matthias Klein
0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2013-11-13 12:45 UTC (permalink / raw)
To: ptxdist, Matthias Klein
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] install_copy without strip
2013-11-13 12:45 ` Marc Kleine-Budde
@ 2013-11-14 14:03 ` Matthias Klein
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Klein @ 2013-11-14 14:03 UTC (permalink / raw)
To: ptxdist
Hello Marc,
Thanks a lot for the pointer !
Best regards,
Matthias
------ Originalnachricht ------
Von: "Marc Kleine-Budde" <mkl@pengutronix.de>
An: ptxdist@pengutronix.de; "Matthias Klein"
<matthias.klein@optimeas.de>
Gesendet: 13.11.2013 13:45:03
Betreff: Re: [ptxdist] install_copy without strip
>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 |
>
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-14 14:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 11:40 [ptxdist] install_copy without strip Matthias Klein
2013-11-13 12:45 ` Marc Kleine-Budde
2013-11-14 14:03 ` Matthias Klein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox