summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-08-12 15:00:51 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-12 15:00:51 +0000
commit0588d19abef62dad63a7794a37bdd6a71c526d9e (patch)
tree1c507caa1ffed6ceb73d3e13fc9b766a713d16e2 /documentation/Makefile
parent38cd29ebd7282333650cf11ed50c7f2fd4031e80 (diff)
downloadcoreboot-0588d19abef62dad63a7794a37bdd6a71c526d9e.tar.xz
Kconfig!
Works on Kontron, qemu, and serengeti. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> tested on abuild only. Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile31
1 files changed, 28 insertions, 3 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 4e4991adbe..264bc922a2 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -7,7 +7,7 @@ PDFLATEX=pdflatex -t a4
FIGS=codeflow.pdf hypertransport.pdf
-all: LinuxBIOS-AMD64.pdf
+all: LinuxBIOS-AMD64.pdf Kconfig.pdf
SVG2PDF=$(shell which svg2pdf)
INKSCAPE=$(shell which inkscape)
@@ -39,9 +39,34 @@ LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex
LinuxBIOS-AMD64.pdf: $(FIGS) LinuxBIOS-AMD64.tex LinuxBIOS-AMD64.toc
$(PDFLATEX) LinuxBIOS-AMD64.tex
+Kconfig.pdf: Kconfig.tex mainboardkconfig.tex cpukconfig.tex socketfkconfig.tex
+ $(PDFLATEX) $<
+
+# quick, somebody! make me a macro!
+mainboardkconfig.tex: ../src/mainboard/Kconfig
+ echo '\begin{verbatim}' > $@
+ grep '^config' $< | awk '{print $2}' >>$@
+ echo '\end{verbatim}' >> $@
+
+skconfig.tex: ../src/mainboard/amd/serengeti_cheetah/Kconfig
+ echo '\begin{verbatim}' > $@
+ grep '^config' $< | awk '{print $2}' >>$@
+ echo '\end{verbatim}' >> $@
+
+cpukconfig.tex: ../src/cpu/Kconfig
+ echo '\begin{verbatim}' > $@
+ grep '^config' $< | awk '{print $2}' >>$@
+ echo '\end{verbatim}' >> $@
+
+socketfkconfig.tex: ../src/cpu/amd/socket_F/Kconfig
+ echo '\begin{verbatim}' > $@
+ grep '^config' $< | awk '{print $2}' >>$@
+ echo '\end{verbatim}' >> $@
+
+
clean:
- rm -f *.aux *.idx *.log *.toc *.out $(FIGS)
+ rm -f *.aux *.idx *.log *.toc *.out $(FIGS) mainboardkconfig.tex
distclean: clean
- rm -f LinuxBIOS-AMD64.pdf
+ rm -f LinuxBIOS-AMD64.pdf mainboardkconfig.tex