eclass/coreos-kernel: Generate minimal defconfig

For convenience, either to reference or for use to update the ebuild defconfig,
generate a minimal kernel defconfig using 'savedefconfig'.

Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-06-17 16:59:13 -07:00
parent 9e41eb49d7
commit 85efe89926

View File

@ -128,6 +128,10 @@ coreos-kernel_src_prepare() {
coreos-kernel_src_configure() {
# Use default for any options not explitly set in defconfig
yes "" | kmake oldconfig
# For convinence, generate a minimal defconfig of the build
kmake savedefconfig
einfo "Saving minimal kernel defconfig as ${KBUILD_OUTPUT}/defconfig"
}
coreos-kernel_src_compile() {