summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kconfig17
-rw-r--r--Makefile40
-rw-r--r--configmasterhandout.tex13
-rw-r--r--configmasterpres.tex36
-rw-r--r--handout_master.tex24
-rw-r--r--modules.mk65
-rw-r--r--pres_master.tex75
-rw-r--r--tailmasterhandout.tex1
-rw-r--r--tailmasterpres.tex1
9 files changed, 2 insertions, 270 deletions
diff --git a/Kconfig b/Kconfig
index 18510a4..eb11683 100644
--- a/Kconfig
+++ b/Kconfig
@@ -1,27 +1,10 @@
mainmenu "Build training documents"
-config BUILD_FAST_BUILD
- bool "FAST-Build"
- help
- Build pdf's only one time (Without index)
-
config BUILD_HANDOUTS
bool "Build with handouts"
help
Build papers with or without handouts
-config BUILD_MASTER_HANDOUT
- bool "Build master handout"
- depends on BUILD_HANDOUTS
- help
- Build one big master handout with all selected topics
-
-config BUILD_MASTER_PRES
- bool "Build master presentation"
- help
- Build on big master presentation with all selected topics
-
-
source "security/Kconfig"
source "basics/cpu-arch/Kconfig"
source "basics/lx-trainer/Kconfig"
diff --git a/Makefile b/Makefile
index 6cfaed7..5ca3319 100644
--- a/Makefile
+++ b/Makefile
@@ -18,19 +18,11 @@ BUILD_COMMAND := latexmk -xelatex -bibtex -pdf
BUILD_DEBUG := -halt-on-error --interaction=errorstopmode
BUILD_ARGS :=
BUILD := $(BUILD_COMMAND) $(BUILD_DEBUG) $(BUILD_ARGS)
-BUILD_BIB := $(BUILD_COMMAND_BIB)
KCONFIG_PATH := ./kconfig-frontends/frontends
KCONFIG := $(KCONFIG_PATH)/conf/conf
KMCONFIG := $(KCONFIG_PATH)/mconf/mconf
-MASTER_PRES := tmp_master_pres
-MASTER_HANDOUT := tmp_master_handout
-MASTER_END := .tex
-
-HANDOUT_PREFIX := handout_
-PRES_PREFIX := pres_
-
# Folder that should not include to build paths
EXCLUDE_PATH := \
grep -v ./kconfig-frontends | \
@@ -51,12 +43,6 @@ build:
for dir in $(PATHS) ; do \
($(MAKE) -C $$dir -f $(CURDIR)/modules.mk $@ >> log.txt); \
done
-ifdef CONFIG_BUILD_MASTER_PRES
- ($(MAKE) -C ./ -f Makefile build_master_pres >> log.txt);
-endif
-ifdef CONFIG_BUILD_MASTER_HANDOUT
- ($(MAKE) -C ./ -f Makefile build_master_handout >> log.txt);
-endif
$(KMCONFIG):
cd kconfig-frontends/ && ./configure && make
@@ -92,32 +78,8 @@ mrproper distclean:
($(MAKE) -C $$dir -f $(CURDIR)/modules.mk clean >> log.txt); \
done
-build_master_pres: clean_master_pres
- @echo "Build masterpres with: "$(obj-y)
- for dir in $(PATHS) ; do \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_pres >> log.txt); \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_pres_end >> log.txt); \
- done
-
-clean_master_pres:
-ifneq ($(shell find . -name $(MASTER_PRES)*$(MASTER_END)), )
- find . -name $(MASTER_PRES)*$(MASTER_END) -exec rm {} \;
-endif
-
-build_master_handout: clean_master_handout
- @echo "Build master handout with: "$(obj-handout-y)
- for dir in $(PATHS) ; do \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_handout >> log.txt); \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_handout_end >> log.txt); \
- done
-
-clean_master_handout:
-ifneq ($(shell find . -name $(MASTER_HANDOUT)*$(MASTER_END)), )
- find . -name $(MASTER_HANDOUT)*$(MASTER_END) -exec rm {} \;
-endif
-
%_defconfig: $(KCONFIG)
cp $(CONFIG_FOLDER)/$@ $(CONFIG_FILE)
$(KCONFIG) --oldconfig Kconfig
-.PHONY: config oldconfig menuconfig build clean mrproper distclean clean_master_pres build_master_handout
+.PHONY: config oldconfig menuconfig build clean mrproper distclean
diff --git a/configmasterhandout.tex b/configmasterhandout.tex
deleted file mode 100644
index 285bc00..0000000
--- a/configmasterhandout.tex
+++ /dev/null
@@ -1,13 +0,0 @@
-\documentclass{book}
-\usepackage{german}
-\usepackage[utf8]{inputenc}
-\usepackage{lxextras}
-\lstset{keywordstyle=\color{blue}}
-
-\begin{document}
-
-\title{Linux Entwicklung}
-\maketitle
-
-\tableofcontents
-\pagebreak
diff --git a/configmasterpres.tex b/configmasterpres.tex
deleted file mode 100644
index 6d624f1..0000000
--- a/configmasterpres.tex
+++ /dev/null
@@ -1,36 +0,0 @@
-\documentclass{beamer}
-\mode<presentation>
-{
- \usetheme{linutronix}
-}
-\usepackage{german}
-\usepackage[utf8x]{inputenc}
-\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps}
-\usepackage{amsmath,amssymb}
-\usepackage{listings,color}
-\usepackage{graphicx}
-\usepackage{lxextras}
-
-\institute{Linutronix GmbH}
-\definecolor{lbcolor}{RGB}{255,210,150}
-\lstset{
- language=C++,
- numbers=left,
- stepnumber=1,
- numbersep=5pt,
- numberstyle=\tiny,
- breaklines=true,
- breakautoindent=true,
- postbreak=\space,
- tabsize=2,
- basicstyle=\ttfamily\tiny,
- showspaces=false,
- showstringspaces=false,
- extendedchars=true,
- backgroundcolor=\color{lbcolor},
- keywordstyle=\bf ,
- commentstyle=\color{blue},
- stringstyle=\color{red}
-}
-
-\begin{document}
diff --git a/handout_master.tex b/handout_master.tex
deleted file mode 100644
index 68117f2..0000000
--- a/handout_master.tex
+++ /dev/null
@@ -1,24 +0,0 @@
-\input{configmasterhandout}
-\chapter{Grundlagen}
-\section{Aufbau}
-\input{./linux-basics/boot-process/handout_boot-process_de.tex}
-\input{./linux-basics/filesystem-structure/handout_file-system-structure_de.tex}
-\chapter{Userspace}
-\section{Applikationsentwicklung}
-\input{./linux-basics/sh-programming/handout_sh-programming_de.tex}
-\input{./application-devel/app-debugging/handout_app-debugging_de.tex}
-\input{./application-devel/devel-environment/handout_devel-environment_de.tex}
-\section{Frameworks}
-\input{./frameworks/middleware/handout_middleware.tex}
-\chapter{Kernel}
-\section{Flashspeicher}
-\input{./flash-memory/mtd/handout_mtd_de.tex}
-\input{./flash-memory/ubi/handout_ubi_de.tex}
-\section{Treiberentwicklung}
-\input{./kernel-devel/kernel-basics/handout_kernel-basics_de.tex}
-\input{./kernel-devel/kernel-build/handout_kernel-build_de.tex}
-\input{./kernel-devel/uio-driver/handout_uio-driver_de.tex}
-\section{Echtzeit}
-\input{./realtime/rt-basics/handout_rt-basics_de.tex}
-\input{./realtime/rt-specialties/handout_rt-specialties_de.tex}
-\input{tailmasterhandout}
diff --git a/modules.mk b/modules.mk
index 5d511e6..011ae92 100644
--- a/modules.mk
+++ b/modules.mk
@@ -39,67 +39,4 @@ clean_texfiles:
rm -f *.fls
rm -f *.fdb_latexmk
-build_master_pres:
-ifneq ($(filter $(PRES_PREFIX)%,$(obj-y)), )
- `echo "\input{$(dir $(CURDIR))section.tex}" >> ../$(MASTER_PRES)$(MASTER_END)`
- for files in $(subst .pdf,.tex,$(filter $(PRES_PREFIX)%,$(obj-y))) ; do \
- `echo "\input{$(CURDIR)/$$files}" >> ../$(MASTER_PRES)$(MASTER_END)` ; \
- done
-endif
-
-# Dirty for now the master_handout is build every time not only one time
-build_master_$(PRES_PREFIX)end:
-ifneq ($(filter $(PRES_PREFIX)%,$(obj-y)), )
- echo "\input{configmasterpres}" > ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- cat ../$(MASTER_PRES)$(MASTER_END) >> ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- echo "\input{tailmasterpres}" >> ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- mv $(TOP_DIR)/configpres.tex $(TOP_DIR)/_configpres.tex
- mv $(TOP_DIR)/tailpres.tex $(TOP_DIR)/_tailpres.tex
- touch $(TOP_DIR)/configpres.tex
- touch $(TOP_DIR)/tailpres.tex
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- mv $(TOP_DIR)/_configpres.tex $(TOP_DIR)/configpres.tex
- mv $(TOP_DIR)/_tailpres.tex $(TOP_DIR)/tailpres.tex
-
-ifndef CONFIG_BUILD_FAST_BUILD
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
-endif
- cp $(MASTER_PRES)_$(BASE_NAME).pdf $(DEPLOY)/$(subst tmp_,,$(MASTER_PRES))_$(BASE_NAME).pdf
-endif
-
-build_master_handout:
-ifneq ($(filter $(HANDOUT_PREFIX)%,$(obj-handout-y)), )
- `echo "\input{$(dir $(CURDIR))section.tex}" >> ../$(MASTER_HANDOUT)$(MASTER_END)`
- for files in $(subst .pdf,.tex,$(filter $(HANDOUT_PREFIX)%,$(obj-handout-y))) ; do \
- `echo "\input{$(CURDIR)/$$files}" >> ../$(MASTER_HANDOUT)$(MASTER_END)` ; \
- done
-endif
-
-# Dirty for now the master_handout is build every time not only one time
-build_master_$(HANDOUT_PREFIX)end:
-ifneq ($(filter $(HANDOUT_PREFIX)%,$(obj-handout-y)), )
- echo "\input{configmasterhandout}" > ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- cat ../$(MASTER_HANDOUT)$(MASTER_END) >> ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- echo "\input{tailmasterhandout}" >> ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- # Only for TESTING dirty hack ***********************************
- mv $(TOP_DIR)/confighandout.tex $(TOP_DIR)/_confighandout.tex
- mv $(TOP_DIR)/tailhandout.tex $(TOP_DIR)/_tailhandout.tex
- touch $(TOP_DIR)/confighandout.tex
- touch $(TOP_DIR)/tailhandout.tex
- # ***************************************************************
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
-
-ifndef CONFIG_BUILD_FAST_BUILD
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
-endif
- # Only for TESTING dirty hack ***********************************
- mv $(TOP_DIR)/_confighandout.tex $(TOP_DIR)/confighandout.tex
- mv $(TOP_DIR)/_tailhandout.tex $(TOP_DIR)/tailhandout.tex
- # ***************************************************************
- cp $(MASTER_HANDOUT)_$(BASE_NAME).pdf $(HANDOUT)/$(subst tmp_,,$(MASTER_HANDOUT)_$(BASE_NAME).pdf)
-endif
-
-.PHONY: clean build_master_$(PRES_PREFIX)end build_master_pres build_master_$(HANDOUT_PREFIX)end build_master_handout build
-
+.PHONY: clean_texfiles build
diff --git a/pres_master.tex b/pres_master.tex
deleted file mode 100644
index 0bc0578..0000000
--- a/pres_master.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\input{configmasterpres}
-
-\input{./basics/section}
-\input{./basics/cpu-arch/pres_cpu-arch.tex}
-
-\input{./linux-basics/section}
-\input{./linux-basics/boot-process/pres_boot-process_de.tex}
-\input{./linux-basics/filesystems/pres_filesystems_en.tex}
-\input{./linux-basics/filesystem-structure/pres_file-system-structure_de.tex}
-\input{./linux-basics/fromscratch_vs_debian/pres_fromscatch_vs_debian_en.tex}
-\input{./linux-basics/important-tools/pres_important_tools_de.tex}
-\input{./linux-basics/licenses/pres_licenses_en.tex}
-\input{./linux-basics/linux-processes/pres_linux-processes_en.tex}
-\input{./linux-basics/networking/pres_networking_en.tex}
-\input{./linux-basics/package-management/pres_packaging_en.tex}
-\input{./linux-basics/sh-programming/pres_sh-programming_de.tex}
-\input{./linux-basics/udev-basics/pres_udev_en.tex}
-\input{./linux-basics/what-is-linux/pres_what-is-linux_de.tex}
-\input{./linux-basics/xorg-basics/pres_xorg_en.tex}
-
-\input{./application-devel/section}
-\input{./application-devel/app-debugging/pres_app-debugging_de.tex}
-\input{./application-devel/cross-devel/pres_cross-devel_de.tex}
-\input{./application-devel/cross-devel/pres_cross-devel_de-userspace.tex}
-\input{./application-devel/cross-devel/pres_cross-devel-ppc-qemu_de.tex}
-\input{./application-devel/debian-packages/pres_debian_packages_en.tex}
-\input{./application-devel/devel-environment/pres_devel-environment_de_short.tex}
-\input{./application-devel/devel-environment/pres_devel-environment_de.tex}
-\input{./application-devel/devel-scenarios/pres_devel_scenarios_de.tex}
-\input{./application-devel/embedded-devel/pres_embedded-devel_de.tex}
-\input{./application-devel/posix-ipc/pres_posix_ipc_de.tex}
-
-\input{./frameworks/section}
-\input{./frameworks/middleware/pres_middleware.tex}
-
-\input{./misc/section}
-\input{./misc/pres_xml-fasttrack_en.tex}
-
-\input{./distribution/section}
-\input{./distribution/elbe-usage/pres_elbe-usage_en.tex}
-\input{./distribution/elbe-devel/pres_elbe-devel_en.tex}
-
-\input{./security/section}
-\input{./security/basics/pres_concept.tex}
-\input{./security/advanced/pres_advanced_sec.tex}
-\input{./security/crypto/pres_crypto_en.tex}
-\input{./security/crypto/pres_pki_en.tex}
-\input{./security/vpn/pres_vpn-fasttrack_en.tex}
-\input{./security/firewall/pres_iptables.tex}
-\input{./security/examples/pres_ex_firewall.tex}
-
-\input{./protocols/section}
-\input{./protocols/socketcan/pres_socketcan_de.tex}
-
-\input{./kernel-devel/section.tex}
-\input{./kernel-devel/char-device/pres_char-device_de.tex}
-\input{./kernel-devel/kernel-basics/pres_kernel-basics_de.tex}
-\input{./kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex}
-\input{./kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex}
-\input{./kernel-devel/linux-mm-basics/pres_linux-mm-basics_en.tex}
-\input{./kernel-devel/module-basics/pres_module-basics_de.tex}
-\input{./kernel-devel/uio-driver/pres_uio-driver_en.tex}
-
-\input{./flash-memory/section}
-\input{./flash-memory/technology/pres_technology_en.tex}
-\input{./flash-memory/mtd/pres_mtd_de.tex}
-\input{./flash-memory/flash-filesystems/pres_flashfilesystems_en.tex}
-\input{./flash-memory/ubi/pres_ubi_de.tex}
-
-\input{./realtime/section}
-\input{./realtime/rt-basics/pres_rt-basics_de.tex}
-\input{./realtime/rt-specialties/pres_rt-specialties_de.tex}
-\input{./realtime/rt-app-basics/pres_rt-app-basics_en.tex}
-
-\input{tailmasterpres}
diff --git a/tailmasterhandout.tex b/tailmasterhandout.tex
deleted file mode 100644
index 6b47932..0000000
--- a/tailmasterhandout.tex
+++ /dev/null
@@ -1 +0,0 @@
-\end{document}
diff --git a/tailmasterpres.tex b/tailmasterpres.tex
deleted file mode 100644
index 6b47932..0000000
--- a/tailmasterpres.tex
+++ /dev/null
@@ -1 +0,0 @@
-\end{document}