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.

Signed-off-by: Avery Pennarun <[email protected]>
---
 backport/Makefile.real | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/backport/Makefile.real b/backport/Makefile.real
index b010dd7..f60d5ca 100644
--- a/backport/Makefile.real
+++ b/backport/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.1.423.g4596e3a

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to