Makefile: add savedefconfig target.
PATCH 1/1 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 <[email protected]>
--- backport/Makefile.real | 5 +++++ 1 file changed, 5 insertions(+)
backport/Makefile.real +5 -0
@@ -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
Signature · 1 line
1.9.1.423.g4596e3a
Quoted 5 lines · Avery Pennarun
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]>
Neat, thanks, applieds!
Luis