summaryrefslogtreecommitdiff
path: root/security/examples
diff options
context:
space:
mode:
authorHolger Dengler <dengler@linutronix.de>2014-07-16 10:05:21 +0200
committerHolger Dengler <dengler@linutronix.de>2015-02-20 16:32:50 +0100
commitf328e684a274df1f820df5c5d9b685b8e6bd75d1 (patch)
treea94e3afdfe0340f5be5c920e5752377cf0e0e31f /security/examples
parent386304e330a59a1281502d12321f92598455827a (diff)
security: kconfig integration for security chapters
Signed-off-by: Holger Dengler <dengler@linutronix.de>
Diffstat (limited to 'security/examples')
-rw-r--r--security/examples/Kconfig13
-rw-r--r--security/examples/Makefile10
2 files changed, 14 insertions, 9 deletions
diff --git a/security/examples/Kconfig b/security/examples/Kconfig
new file mode 100644
index 0000000..43350ef
--- /dev/null
+++ b/security/examples/Kconfig
@@ -0,0 +1,13 @@
+menuconfig SECURITY_EX
+ bool "Security Examples"
+
+if SECURITY_EX
+
+config SECURITY_EX_FW
+ bool "Linux Firewall Example"
+ default y
+ help
+ Content:
+ - Example for Firewall
+
+endif
diff --git a/security/examples/Makefile b/security/examples/Makefile
index 257d70d..d834f36 100644
--- a/security/examples/Makefile
+++ b/security/examples/Makefile
@@ -1,9 +1 @@
-all:
- for pdf in `ls -1 handout_*.tex pres_*.tex 2> /dev/null` ; do \
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \
- done
-
-clean:
- rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out
-
+obj-$(CONFIG_SECURITY_EX_FW) += pres_ex_firewall.pdf