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>
@$(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