summaryrefslogtreecommitdiff
path: root/flash-memory
diff options
context:
space:
mode:
Diffstat (limited to 'flash-memory')
-rw-r--r--flash-memory/Kconfig9
-rw-r--r--flash-memory/Makefile6
-rw-r--r--flash-memory/flash-filesystems/Kconfig5
-rw-r--r--flash-memory/flash-filesystems/Makefile10
-rw-r--r--flash-memory/mtd/Kconfig5
-rw-r--r--flash-memory/mtd/Makefile11
-rw-r--r--flash-memory/technology/Kconfig5
-rw-r--r--flash-memory/technology/Makefile10
-rw-r--r--flash-memory/ubi/Kconfig5
-rw-r--r--flash-memory/ubi/Makefile11
10 files changed, 35 insertions, 42 deletions
diff --git a/flash-memory/Kconfig b/flash-memory/Kconfig
new file mode 100644
index 0000000..9ea3c3a
--- /dev/null
+++ b/flash-memory/Kconfig
@@ -0,0 +1,9 @@
+menuconfig FLASH
+ bool "Flash-memory"
+
+if FLASH
+ source "flash-memory/ubi/Kconfig"
+ source "flash-memory/mtd/Kconfig"
+ source "flash-memory/flash-filesystems/Kconfig"
+ source "flash-memory/technology/Kconfig"
+endif
diff --git a/flash-memory/Makefile b/flash-memory/Makefile
deleted file mode 100644
index 0a202ea..0000000
--- a/flash-memory/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/flash-memory/flash-filesystems/Kconfig b/flash-memory/flash-filesystems/Kconfig
new file mode 100644
index 0000000..6a79466
--- /dev/null
+++ b/flash-memory/flash-filesystems/Kconfig
@@ -0,0 +1,5 @@
+config FLASH_FILESYSTEM
+ bool "Flash filesystem papers"
+ default y
+ help
+ Papers about flash filesystems
diff --git a/flash-memory/flash-filesystems/Makefile b/flash-memory/flash-filesystems/Makefile
index d641258..e7be925 100644
--- a/flash-memory/flash-filesystems/Makefile
+++ b/flash-memory/flash-filesystems/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_FLASH_FILESYSTEM) += pres_flashfilesystems_en.pdf
diff --git a/flash-memory/mtd/Kconfig b/flash-memory/mtd/Kconfig
new file mode 100644
index 0000000..3488de3
--- /dev/null
+++ b/flash-memory/mtd/Kconfig
@@ -0,0 +1,5 @@
+config MTD
+ bool "MTD papers"
+ default y
+ help
+ Papers about MTD
diff --git a/flash-memory/mtd/Makefile b/flash-memory/mtd/Makefile
index d641258..08172a1 100644
--- a/flash-memory/mtd/Makefile
+++ b/flash-memory/mtd/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_MTD) += pres_mtd_en.pdf
+obj-handout-$(CONFIG_MTD) += handout_mtd_de.pdf
diff --git a/flash-memory/technology/Kconfig b/flash-memory/technology/Kconfig
new file mode 100644
index 0000000..863ba7f
--- /dev/null
+++ b/flash-memory/technology/Kconfig
@@ -0,0 +1,5 @@
+config FLASH_TECH
+ bool "Flash technology papers"
+ default y
+ help
+ Papers about Flash technology
diff --git a/flash-memory/technology/Makefile b/flash-memory/technology/Makefile
index d641258..ccf9501 100644
--- a/flash-memory/technology/Makefile
+++ b/flash-memory/technology/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_FLASH_TECH) += pres_technology_en.pdf
diff --git a/flash-memory/ubi/Kconfig b/flash-memory/ubi/Kconfig
new file mode 100644
index 0000000..6c38716
--- /dev/null
+++ b/flash-memory/ubi/Kconfig
@@ -0,0 +1,5 @@
+config UBI
+ bool "UBI papers"
+ default y
+ help
+ Papers about UBI
diff --git a/flash-memory/ubi/Makefile b/flash-memory/ubi/Makefile
index d641258..d62416c 100644
--- a/flash-memory/ubi/Makefile
+++ b/flash-memory/ubi/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_UBI) += pres_ubi_en.pdf
+obj-handout-$(CONFIG_UBI) += handout_ubi_de.pdf