blob: 55a26b5786c9bfd4dba450de3b87cb1ad0ba747f [file] [log] [blame]
From 4cf00c26e94ec5c1218f521e9631ca1b9fc4f695 Mon Sep 17 00:00:00 2001
From: Avery Pennarun <apenwarr@gmail.com>
Date: Sat, 21 Dec 2013 02:36:45 -0500
Subject: [PATCH 02/11] Makefile: add savedefconfig target.
This writes a file called 'defconfig' which contains only the deltas from
the default configuration. It's suitable for use as an input defconfig file
for later builds.
---
Makefile.real | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile.real b/Makefile.real
index c09663c..3216d61 100644
--- a/Makefile.real
+++ b/Makefile.real
@@ -32,6 +32,11 @@ usedefconfig:
@$(MAKE) -C kconf conf
@./kconf/conf --defconfig=defconfig Kconfig
+.PHONY: savedefconfig
+savedefconfig:
+ @$(MAKE) -C kconf conf
+ @./kconf/conf --savedefconfig=defconfig Kconfig
+
defconfig-%::
@$(MAKE) -C kconf conf
@./kconf/conf --defconfig=defconfigs/$(@:defconfig-%=%) Kconfig
--
1.9.0.279.gdc9e3eb