From 9e05689406c83ae3020ca32a6ec6387466209138 Mon Sep 17 00:00:00 2001 From: Christian Eppler Date: Mon, 13 May 2013 16:22:27 +0200 Subject: Implement Kconfig build system Signed-off-by: Christian Eppler --- realtime/Kconfig | 8 ++++++++ realtime/Makefile | 6 ------ realtime/rt-app-basics/Kconfig | 5 +++++ realtime/rt-app-basics/Makefile | 10 +--------- realtime/rt-basics/Kconfig | 5 +++++ realtime/rt-basics/Makefile | 11 ++--------- realtime/rt-specialties/Kconfig | 5 +++++ realtime/rt-specialties/Makefile | 11 ++--------- 8 files changed, 28 insertions(+), 33 deletions(-) create mode 100644 realtime/Kconfig delete mode 100644 realtime/Makefile create mode 100644 realtime/rt-app-basics/Kconfig create mode 100644 realtime/rt-basics/Kconfig create mode 100644 realtime/rt-specialties/Kconfig (limited to 'realtime') diff --git a/realtime/Kconfig b/realtime/Kconfig new file mode 100644 index 0000000..7b9ebd4 --- /dev/null +++ b/realtime/Kconfig @@ -0,0 +1,8 @@ +menuconfig REALTIME_MAIN + bool "Realtime" + +if REALTIME_MAIN + source "realtime/rt-app-basics/Kconfig" + source "realtime/rt-basics/Kconfig" + source "realtime/rt-specialties/Kconfig" +endif diff --git a/realtime/Makefile b/realtime/Makefile deleted file mode 100644 index 0a202ea..0000000 --- a/realtime/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -SUBDIRS = `ls -1 | grep -v *.tex | grep -v Makefile | grep -v TODO` - -all clean:: - for dir in $(SUBDIRS) ; do \ - (cd $$dir && make $@); \ - done diff --git a/realtime/rt-app-basics/Kconfig b/realtime/rt-app-basics/Kconfig new file mode 100644 index 0000000..914ef96 --- /dev/null +++ b/realtime/rt-app-basics/Kconfig @@ -0,0 +1,5 @@ +config REALTIME_APP_BASICS + bool "Realtime application basics papers" + default y + help + Papers about raltime application basics diff --git a/realtime/rt-app-basics/Makefile b/realtime/rt-app-basics/Makefile index d641258..b197270 100644 --- a/realtime/rt-app-basics/Makefile +++ b/realtime/rt-app-basics/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; 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_REALTIME_APP_BASICS) += hints_rt-app-basics_de.pdf pres_rt-app-basics_en.pdf diff --git a/realtime/rt-basics/Kconfig b/realtime/rt-basics/Kconfig new file mode 100644 index 0000000..a277722 --- /dev/null +++ b/realtime/rt-basics/Kconfig @@ -0,0 +1,5 @@ +config REALTIME_BASICS + bool "Realtime basics papers" + default y + help + Papers about realtime basics diff --git a/realtime/rt-basics/Makefile b/realtime/rt-basics/Makefile index d641258..8c08038 100644 --- a/realtime/rt-basics/Makefile +++ b/realtime/rt-basics/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; 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_REALTIME_BASICS) += pres_rt-basics_de.pdf +obj-handout-$(CONFIG_REALTIME_BASICS) += handout_rt-basics_de.pdf diff --git a/realtime/rt-specialties/Kconfig b/realtime/rt-specialties/Kconfig new file mode 100644 index 0000000..5175307 --- /dev/null +++ b/realtime/rt-specialties/Kconfig @@ -0,0 +1,5 @@ +config REALTIME_SPECIALITIES + bool "Realtime specialties papers" + default y + help + Papers about realtime specialties diff --git a/realtime/rt-specialties/Makefile b/realtime/rt-specialties/Makefile index d641258..dbb15e5 100644 --- a/realtime/rt-specialties/Makefile +++ b/realtime/rt-specialties/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; 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_REALTIME_SPECIALITIES) += hints_rt-specialties_de.pdf pres_rt-specialties_de.pdf +obj-handout-$(CONFIG_REALTIME_SPECIALITIES) += handout_rt-specialties_de.pdf -- cgit v1.2.3