From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bamvor Jian Zhang Subject: Re: [PATCH v3 0/2] Create specific kconfig for kselftest Date: Mon, 4 Jan 2016 18:34:45 +0800 Message-ID: <568A4AC5.1050703@linaro.org> References: <1450346273-31633-1-git-send-email-bamvor.zhangjian@linaro.org> <1450395897.19696.0.camel@ellerman.id.au> <1451883424.14373.1.camel@ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1451883424.14373.1.camel@ellerman.id.au> Sender: linux-kernel-owner@vger.kernel.org To: Michael Ellerman , linux-api Cc: lkml , linux-kbuild@vger.kernel.org, Shuah Khan , yann.morin.1998@free.fr, Kevin Hilman , Tyler Baker , Mark Brown , dvhart@infradead.org, Bamvor Zhang Jian List-Id: linux-api@vger.kernel.org Hi, Michael On 01/04/2016 12:57 PM, Michael Ellerman wrote: [...] >> Do you mean "tools/testing/selftest/Makefile"? I try to do it but I could not >> get the objtree and srctree if it is called directly(objtree and srctree is >> defined in toplevel Makefile) > > No I meant Makefile, the very top level Makefile. > > There is already a kselftest target in there (line 1077), I meant we would add > a kselftest-mergeconfig target in there. I am trying to add it in top level Makefile, it says: > make kselftest-mergeconfig make[1]: *** No rule to make target 'kselftest-mergeconfig'. Stop. Makefile:553: recipe for target 'kselftest-mergeconfig' failed make: *** [kselftest-mergeconfig] Error 2 01234567890123456789012345678901234567890123456789012345678901234567890123456789 It works when I get rid of the config at the end of this target. So, I guess that this is because the "%config" in this Makefile. How should I overwrite this wildcard? Thanks Bamvor > > cheers > -- ----------------------------------------- arm64, kernel. opensuse blog: http://bjzhang.github.io -----------------------------------------