On Tue, 2015-11-17 at 07:30 +0800, Bamvor Zhang Jian wrote: > On 11/17/2015 07:06 AM, Michael Ellerman wrote: > > > > Before you do, do you want to try adding a top-level target that does the > > merge, something like: > > > > $ make kselftest-mergeconfig > > > > > > Or some other better name. > Ok, Do you mean merge all the test config? Yeah sorry that wasn't very clear. I meant that it would essentialy do your logic to merge all the config fragments: ./scripts/kconfig/merge_config.sh .config tools/testing/selftests/*/config You'll probably need to be more careful with $(srctree) vs $(objtree) etc. Have a look at the merge_into_defconfig rule in arch/powerpc/Makefile for an example. cheers -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html