From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from optimeas.de ([78.46.18.2]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VgxW3-0004c4-M8 for ptxdist@pengutronix.de; Thu, 14 Nov 2013 15:03:28 +0100 Received: from [127.0.0.1] (ip-37-24-34-31.unitymediagroup.de [37.24.34.31]) by optimeas.de (Postfix) with ESMTPSA id 0AC7642033E5 for ; Thu, 14 Nov 2013 15:03:22 +0100 (CET) From: "Matthias Klein" Date: Thu, 14 Nov 2013 14:03:21 +0000 In-Reply-To: <5283744F.1030109@pengutronix.de> Message-Id: Mime-Version: 1.0 Subject: Re: [ptxdist] install_copy without strip Reply-To: ptxdist@pengutronix.de, Matthias Klein List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello Marc, Thanks a lot for the pointer ! Best regards, Matthias ------ Originalnachricht ------ Von: "Marc Kleine-Budde" An: ptxdist@pengutronix.de; "Matthias Klein" 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