From: Avery Pennarun Date: Wed, 30 Apr 2014 01:29:06 +0000 (-0400) Subject: Makefile: add savedefconfig target. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4dfdb877f0c0fe6604b47c90e5e21221a0a5d4d2;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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