From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbcADKez (ORCPT ); Mon, 4 Jan 2016 05:34:55 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:36792 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753348AbcADKeu (ORCPT ); Mon, 4 Jan 2016 05:34:50 -0500 Subject: Re: [PATCH v3 0/2] Create specific kconfig for kselftest To: Michael Ellerman , linux-api 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> 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 From: Bamvor Jian Zhang Message-ID: <568A4AC5.1050703@linaro.org> Date: Mon, 4 Jan 2016 18:34:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1451883424.14373.1.camel@ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 -----------------------------------------