mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
The word 'coreboot' should always be written in lowercase, even at the
start of a sentence.
Unfortunately, some external websites and projects are spelling coreboot
with an uppercase C, so references to those pages can't be changed
without breaking the link.
BUG=none
BRANCH=none
TEST=none
Change-Id: I577e92745dcb9a85b09b6ac77f247801b4b37086
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 4b18a922f0
Original-Change-Id: I79824da8a9ed36a1e4fe23a1711a89535267bf5f
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/20031
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://chromium-review.googlesource.com/531719
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
70 lines
1.9 KiB
Makefile
70 lines
1.9 KiB
Makefile
#
|
|
# Makefile for coreboot paper.
|
|
# hacked together by Stefan Reinauer <stepan@openbios.org>
|
|
#
|
|
|
|
PDFLATEX=pdflatex -t a4
|
|
|
|
FIGS=codeflow.pdf hypertransport.pdf
|
|
|
|
all: corebootPortingGuide.pdf Kconfig.pdf
|
|
|
|
SVG2PDF=$(shell which svg2pdf)
|
|
INKSCAPE=$(shell which inkscape)
|
|
CONVERT=$(shell which convert)
|
|
|
|
codeflow.pdf: codeflow.svg
|
|
ifneq ($(strip $(SVG2PDF)),)
|
|
svg2pdf $< $@
|
|
else ifneq ($(strip $(INKSCAPE)),)
|
|
inkscape $< --export-pdf=$@
|
|
else ifneq ($(strip $(CONVERT)),)
|
|
convert $< $@
|
|
endif
|
|
|
|
hypertransport.pdf: hypertransport.svg
|
|
ifneq ($(strip $(SVG2PDF)),)
|
|
svg2pdf $< $@
|
|
else ifneq ($(strip $(INKSCAPE)),)
|
|
inkscape $< --export-pdf=$@
|
|
else ifneq ($(strip $(CONVERT)),)
|
|
convert $< $@
|
|
endif
|
|
|
|
corebootPortingGuide.toc: $(FIGS) corebootBuildingGuide.tex
|
|
# 2 times to make sure we have a current toc.
|
|
$(PDFLATEX) corebootBuildingGuide.tex
|
|
$(PDFLATEX) corebootBuildingGuide.tex
|
|
|
|
corebootPortingGuide.pdf: $(FIGS) corebootBuildingGuide.tex corebootPortingGuide.toc
|
|
$(PDFLATEX) corebootBuildingGuide.tex
|
|
|
|
Kconfig.pdf: Kconfig.tex mainboardkconfig.tex cpukconfig.tex socketfkconfig.tex
|
|
$(PDFLATEX) $<
|
|
|
|
# quick, somebody! make me a macro!
|
|
mainboardkconfig.tex: ../src/mainboard/Kconfig
|
|
cat beginverbatim.tex > $@
|
|
grep '^config' $< | awk '{print $2}' >>$@
|
|
cat endverbatim.tex >> $@
|
|
|
|
skconfig.tex: ../src/mainboard/amd/serengeti_cheetah/Kconfig
|
|
cat beginverbatim.tex > $@
|
|
grep '^config' $< | awk '{print $2}' >>$@
|
|
cat endverbatim.tex >> $@
|
|
|
|
cpukconfig.tex: ../src/cpu/Kconfig
|
|
cat beginverbatim.tex > $@
|
|
grep '^config' $< | awk '{print $2}' >>$@
|
|
cat endverbatim.tex >> $@
|
|
|
|
socketfkconfig.tex: ../src/cpu/amd/socket_F/Kconfig
|
|
cat beginverbatim.tex > $@
|
|
grep '^config' $< | awk '{print $2}' >>$@
|
|
cat endverbatim.tex >> $@
|
|
|
|
clean:
|
|
rm -f *.aux *.idx *.log *.toc *.out $(FIGS) mainboardkconfig.tex skconfig.tex cpukconfig.tex socketfkconfig.tex
|
|
|
|
distclean: clean
|
|
rm -f corebootPortingGuide.pdf Kconfig.pdf
|