summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Eppler <c.eppler@linutonix.de>2013-05-17 14:59:15 +0200
committerChristian Eppler <c.eppler@linutonix.de>2013-05-17 14:59:15 +0200
commit2ed7702eddc96469129694783d8ca964d62a5bc7 (patch)
tree84364b07d11704e425d89c4abb94b795b321e93a /Makefile
parentd677b0db8336048bd06c5a098384af45d35b1232 (diff)
Add defconfig target and incremental build
Signed-off-by: Christian Eppler <c.eppler@linutonix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 925bef7..7e64191 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ DEPLOY_FOLDER := deploy
DEPLOY := $(CONFIG_PATH)/$(DEPLOY_FOLDER)
HANDOUT_FOLDER := handouts
HANDOUT :=$(DEPLOY)/$(HANDOUT_FOLDER)
+CONFIG_FOLDER := configs
BUILD_COMMAND := pdflatex
BUILD_COMMAND_BIB := bibtex
@@ -104,4 +105,8 @@ ifneq ($(shell find . -name $(MASTER_HANDOUT)*$(MASTER_END)), )
find . -name $(MASTER_HANDOUT)*$(MASTER_END) -exec rm {} \;
endif
+%_defconfig:
+ cp $(CONFIG_FOLDER)/$@ $(CONFIG_FILE)
+ $(KCONFIG) --oldconfig Kconfig
+
.PHONY: config oldconfig menuconfig build clean mrproper distclean clean_master_pres build_master_handout