From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qc0-f176.google.com ([209.85.216.176]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XK8mx-0001oI-8j for ptxdist@pengutronix.de; Wed, 20 Aug 2014 18:31:07 +0200 Received: by mail-qc0-f176.google.com with SMTP id m20so8050344qcx.35 for ; Wed, 20 Aug 2014 09:30:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <53F45B32.6050009@pengutronix.de> References: <53F45B32.6050009@pengutronix.de> Date: Wed, 20 Aug 2014 10:30:57 -0600 Message-ID: From: Cindy Gold Subject: Re: [ptxdist] Using PTXDist to build out-of-tree drivers Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1070339083==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1070339083== Content-Type: multipart/alternative; boundary=001a11c169b8fb28b30501122078 --001a11c169b8fb28b30501122078 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry, I guess I am not being clear. I have PTXdist installed here: /usr/local/lib/ptxdist-2013.12.0 Under that directory, there is indeed a "rules" sub-directory. The Application Note from this link: http://pengutronix.com/software/ptxdist/appnotes/AppNote_kernel_driver.pdf under the "Preparations" section says this: project$ cp /rules/templates/kernel/Makefile local_src/module-template project$ cp /rules/templates/kernel/*.c local_src/module-template There is no sub-directory called "kernel" under the rules directory in my directory /usr/local/lib/ptxdist-2013.12.0/rules. There are a variety of other sub-directories but not one called "kernel". So, it would seem that the documentation may perhaps be out of date. My questions are: --If the App Note is out of date, is there a newer version available? -- If there is not a newer version available, then can you tell me what should be updated? Thanks, Cindy On Wed, Aug 20, 2014 at 2:24 AM, Marc Kleine-Budde wrote: > On 08/19/2014 10:51 PM, Cindy Gold wrote: > > I would like to experiment with building an "out-of-tree" driver and > > have browsed the PTXDist Application Note "Kernel Driver Development". = My > > version of the board support package (TQMa6x-BSP-REV.0101) doesn't seem > > to have any of the .../rules/templates files that are mentioned in the > > document. > > J=C3=BCrgen's answer still applies: > > The template is not part of the BSP, its part of PTXdist itself. > > 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 > > --001a11c169b8fb28b30501122078 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, I guess I am not being clear. I have= PTXdist installed here:

/usr/local/lib/ptxdist-2013.12.0
<= br>
Under that directory, there is indeed a "rules" sub-dire= ctory.

The Application Note from this link:

http://pengutro= nix.com/software/ptxdist/appnotes/AppNote_kernel_driver.pdf

under the "Preparations" section says this:

project$ cp <ptxdist-installdir>/rules/templates/kernel/Makefile lo= cal_src/module-template

project$ cp <ptxdist-installdi= r>/rules/templates/kernel/*.c local_src/module-template

There is no sub-directory called "kernel" under th= e rules directory in my directory /usr/local/lib/ptxdist-2013.12.0/rules.= =C2=A0 There are a variety of other sub-directories but not one called &quo= t;kernel". So, it would seem that the documentation may perhaps be out= of date. My questions are:

=C2=A0=C2=A0 --If the App Note is out of date, is there a newer version= available?
=C2=A0 -- If there is not a newer version available, then ca= n you tell me what should be updated?

Thanks,
<= div>=C2=A0 Cindy




On Wed, Aug 20, 2014 at 2:24 AM, Marc Klei= ne-Budde <mkl@pengutronix.de> wrote:
On 08/19/2014 10:51 PM, Cind= y Gold wrote:
> I would like to experiment with building an "out-of-tree" dr= iver and
> have browsed the PTXDist Application Note "Kernel Driver Developm= ent". My
> version of the board support package (TQMa6x-BSP-REV.0101) doesn't= seem
> to have any of the .../rules/templates files that are mentioned in the=
> document.

J=C3=BCrgen's answer still applies:

The template is not part of the BSP, its part of PTXdist itself.

Marc

--
Pengutronix e.K.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 | Marc Kleine-Budde=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
Industrial Linux Solutions=C2=A0 =C2=A0 =C2=A0 =C2=A0 | Phone: +49-231-2826-924=C2=A0 = =C2=A0 =C2=A0|
Vertretung West/Dortmund=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Fax:=C2=A0 =C2= =A0+49-5= 121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686=C2=A0 | http://www.pengutronix.de=C2=A0 =C2=A0|


--
ptxdist mailing list
ptxdist@pengutronix.de


--001a11c169b8fb28b30501122078-- --===============1070339083== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1070339083==--