From 4dfdb877f0c0fe6604b47c90e5e21221a0a5d4d2 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Tue, 29 Apr 2014 21:29:06 -0400 Subject: [PATCH] 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 Signed-off-by: Luis R. Rodriguez --- backport/Makefile.real | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backport/Makefile.real b/backport/Makefile.real index b010dd7808da..f60d5ca211a5 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 -- 2.30.2