Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1271284
| From | Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V2 2/2] scripts/kconfig/Makefile: add kselftest-mergeconfig |
| Date | 2015-11-17 15:40 +0100 |
| Message-ID | <qvPAl-6eh-15@gated-at.bofh.it> (permalink) |
| References | <qvPAl-6eh-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add kselftest-mergeconfig to enable the dependencies of kernel config for all the kselftest testcases. User could call it after create the kernel configuration(.config), eg: $ make kselftest-mergeconfig Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> --- scripts/kconfig/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index d79cba4..5896092 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -126,6 +126,14 @@ PHONY += tinyconfig tinyconfig: $(Q)$(MAKE) -f $(srctree)/Makefile allnoconfig tiny.config +PHONY += kselftest-mergeconfig +kselftest-mergeconfig: $(obj)/conf + $(if $(wildcard $(srctree)/.config),, $(error No .config exists, config your kernel first!)) + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh \ + -m -O $(objtree) $(srctree)/.config \ + $(srctree)/tools/testing/selftests/*/config + +$(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig + # Help text used by make help help: @echo ' config - Update current config utilising a line-oriented program' @@ -151,6 +159,7 @@ help: @echo ' kvmconfig - Enable additional options for kvm guest kernel support' @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support' @echo ' tinyconfig - Configure the tiniest possible kernel' + @echo ' kselftest-mergeconfig - Merge all the config dependencies of kselftest to .config' # lxdialog stuff check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2 0/2] Create specific kconfig for kselftest Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-11-17 15:40 +0100 [PATCH V2 2/2] scripts/kconfig/Makefile: add kselftest-mergeconfig Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-11-17 15:40 +0100 Re: [PATCH V2 0/2] Create specific kconfig for kselftest Shuah Khan <shuahkh@osg.samsung.com> - 2015-11-23 21:40 +0100
csiph-web