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 |