Commit 47444a27d2d8fb5c9f2799345278f935d453ab5d

Authored by Marek Vasut
Committed by Tom Rini
1 parent 8b493a5236

kerneldoc: tmpl: Implement template for LG-arrays

Implement kerneldoc template for linker-generated arrays. This is
the first template in U-Boot that is used to generate kerneldoc
style documentation. This template is very basic.

Signed-off-by: Marek Vasut <marex@denx.de>

Showing 2 changed files with 47 additions and 1 deletions Side-by-side Diff

doc/DocBook/Makefile
... ... @@ -8,7 +8,7 @@
8 8  
9 9 include $(TOPDIR)/config.mk
10 10  
11   -DOCBOOKS := stdio.xml
  11 +DOCBOOKS := linker_lists.xml stdio.xml
12 12  
13 13 ###
14 14 # The build process is as follows (targets):
doc/DocBook/linker_lists.tmpl
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  3 + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
  4 +
  5 +<book id="UBootLGArrays">
  6 + <bookinfo>
  7 + <title>The U-Boot Linker-Generated Arrays</title>
  8 +
  9 + <legalnotice>
  10 + <para>
  11 + This documentation is free software; you can redistribute
  12 + it and/or modify it under the terms of the GNU General Public
  13 + License as published by the Free Software Foundation; either
  14 + version 2 of the License, or (at your option) any later
  15 + version.
  16 + </para>
  17 +
  18 + <para>
  19 + This program is distributed in the hope that it will be
  20 + useful, but WITHOUT ANY WARRANTY; without even the implied
  21 + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  22 + See the GNU General Public License for more details.
  23 + </para>
  24 +
  25 + <para>
  26 + You should have received a copy of the GNU General Public
  27 + License along with this program; if not, write to the Free
  28 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  29 + MA 02111-1307 USA
  30 + </para>
  31 +
  32 + <para>
  33 + For more details see the file COPYING in the source
  34 + distribution of U-Boot Bootloader.
  35 + </para>
  36 + </legalnotice>
  37 + </bookinfo>
  38 +
  39 +<toc></toc>
  40 +
  41 + <chapter id="adt">
  42 + <title>Linker-Generated Arrays</title>
  43 +!Iinclude/linker_lists.h
  44 + </chapter>
  45 +
  46 +</book>