[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160816023014.GA17916@wfg-t540p.sh.intel.com>
Date: Tue, 16 Aug 2016 10:30:14 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Yilong Ren <yilongx.ren@...el.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dan Williams <dan.j.williams@...el.com>, kbuild-all@...org,
Johannes Thumshirn <jthumshirn@...e.de>
Subject: Re: [kbuild-all] make[2]: *** No rule to make target
'tools/testing/nvdimm//config_check.o', needed by
'tools/testing/nvdimm//dax.o'.
>how about adding a function "exact_enable_module()" to assure use "m" ?
>
>diff --git a/lib/kconfig.sh b/lib/kconfig.sh
>index 595dbfd..1502ce9 100644
>--- a/lib/kconfig.sh
>+++ b/lib/kconfig.sh
>@@ -102,6 +102,7 @@ enable_testcase_config()
> do
> [[ $CONFIG =~ ^CONFIG_[A-Z0-9_]+=y$ ]] && enable_config ${CONFIG%=y}
>+ [[ $CONFIG =~ ^CONFIG_[A-Z0-9_]+=m$ ]] && exact_enable_module ${CONFIG%=y}
s/y/m/
Otherwise looks good, thanks!
> [[ $CONFIG =~ ^CONFIG_[A-Z0-9_]+[A-Z0-9]$ ]] && enable_module $CONFIG
> [[ $CONFIG =~ ^(CONFIG_[A-Z0-9_]+)=([0-9]+)$ ]] && set_config_to_value ${BASH_REMATCH[1]} ${BASH_REMATCH[2]}
> done
> }
Powered by blists - more mailing lists