summaryrefslogtreecommitdiff
path: root/backport/Makefile.real
diff options
context:
space:
mode:
authorAvery Pennarun <apenwarr@gmail.com>2014-04-29 21:29:06 -0400
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2014-05-01 18:44:14 -0700
commit4dfdb877f0c0fe6604b47c90e5e21221a0a5d4d2 (patch)
treedfea4fb2d44b6648c7e70742d0d11e3d19236f5b /backport/Makefile.real
parent9262ad513b02f99f097d8e9808fcb18c1f611b26 (diff)
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. Signed-off-by: Avery Pennarun <apenwarr@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'backport/Makefile.real')
-rw-r--r--backport/Makefile.real5
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/Makefile.real b/backport/Makefile.real
index b010dd78..f60d5ca2 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