From: Shuah Khan <shuahkh@osg.samsung.com>
To: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>,
mmarek@suse.com, Shuah Khan <shuahkh@osg.samsung.com>
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-kbuild@vger.kernel.org, yann.morin.1998@free.fr,
khilman@linaro.org, tyler.baker@linaro.org, broonie@kernel.org,
mpe@ellerman.id.au, dvhart@infradead.org
Subject: Re: [PATCH v4 2/2] Makefile: add kselftest-merge
Date: Tue, 23 Feb 2016 07:34:05 -0700 [thread overview]
Message-ID: <56CC6DDD.9080803@osg.samsung.com> (raw)
In-Reply-To: <1452238054-15482-3-git-send-email-bamvor.zhangjian@linaro.org>
On 01/08/2016 12:27 AM, Bamvor Jian Zhang wrote:
> Add kselftest-merge to enable the dependencies of kernel config
> for all the kselftest testcases. User should call it after create
> the kernel configuration(.config), eg:
>
> $ make kselftest-merge
>
> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Could you please ACK this patch if you are okay
with the changes? I will take this through ksleftest
tree.
thanks,
-- Shuah
> ---
> Makefile | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index cd40956..bfb9faa 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1104,6 +1104,14 @@ kselftest:
> kselftest-clean:
> $(Q)$(MAKE) -C tools/testing/selftests clean
>
> +PHONY += kselftest-merge
> +kselftest-merge:
> + $(if $(wildcard $(objtree)/.config),, $(error No .config exists, config your kernel first!))
> + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh \
> + -m $(objtree)/.config \
> + $(srctree)/tools/testing/selftests/*/config
> + +$(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig
> +
> # ---------------------------------------------------------------------------
> # Modules
>
> @@ -1312,6 +1320,8 @@ help:
> @echo ' Build, install, and boot kernel before'
> @echo ' running kselftest on it'
> @echo ' kselftest-clean - Remove all generated kselftest files'
> + @echo ' kselftest-merge - Merge all the config dependencies of kselftest to existed'
> + @echo ' .config.'
> @echo ''
> @echo 'Kernel packaging:'
> @$(MAKE) $(build)=$(package-dir) help
>
--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
next prev parent reply other threads:[~2016-02-23 14:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 7:27 [PATCH v4 0/2] Create specific kconfig for kselftest Bamvor Jian Zhang
2016-01-08 7:27 ` [PATCH v4 1/2] selftests: create test-specific kconfig fragments Bamvor Jian Zhang
2016-02-23 18:28 ` Shuah Khan
2016-01-08 7:27 ` [PATCH v4 2/2] Makefile: add kselftest-merge Bamvor Jian Zhang
2016-02-23 14:34 ` Shuah Khan [this message]
2016-02-23 18:31 ` Shuah Khan
2016-02-12 16:10 ` [PATCH v4 0/2] Create specific kconfig for kselftest Shuah Khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56CC6DDD.9080803@osg.samsung.com \
--to=shuahkh@osg.samsung.com \
--cc=bamvor.zhangjian@linaro.org \
--cc=broonie@kernel.org \
--cc=dvhart@infradead.org \
--cc=khilman@linaro.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mmarek@suse.com \
--cc=mpe@ellerman.id.au \
--cc=tyler.baker@linaro.org \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox