From mboxrd@z Thu Jan 1 00:00:00 1970 From: murzin.v@gmail.com (Vladimir Murzin) Date: Tue, 10 Apr 2012 02:26:09 +0000 Subject: No subject In-Reply-To: <371011333994175@web111.yandex.ru> References: <371011333994175@web111.yandex.ru> Message-ID: <439721274-1334024767-cardhu_decombobulator_blackberry.rim.net-1988734699-@b25.c12.bise7.blackberry> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi Semen Could you share a Makefile for your module? Best wishes, Vladimir Murzin -----Original Message----- From: Martynov Semen Sender: kernelnewbies-bounces at kernelnewbies.org Date: Mon, 09 Apr 2012 23:56:15 To: kernelnewbies at kernelnewbies.org Subject: No subject Good afternoon, I would like to understand, why I can't make the built-in object, when my code is in a folder /samples... I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object. Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how? P.S.: Sorry for my english. -- Best regards, Semen A Martynov. Saint Petersburg, Russia. https://www.facebook.com/semen.martynov _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies