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 <ptxdist-installdir>/rules/templates/kernel/Makefile local_src/module-template

project$ cp <ptxdist-installdir>/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 <mkl@pengutronix.de> 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ürgen'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