Hi Bai Yin, I don't think that the export at that level won't work since rules are executed in a new shell. Maybe just copy the resulting .config file after the kconfig.
Marc On Wed, Jul 7, 2010 at 9:27 AM, baiyin cai <[email protected]> wrote: > hi, > as what you mentioned yesterday, i tried to make to use Makefile to load > the libpayload kconfig instead of using > "source" command. > I can successfully load libpayload's config by modifying some code of the > /util/kconfig/Makefile > but the only problem left now is that i can not make them saved in separate > files. > There is a env variable "KCONFIG_CONFIG" which is used to indicate the file > to save the configuration. > i can make it work in the main frame of Makefile by > "export KCONFIG_CONFIG=lib.config" > but it can not work while i put this command under the rules. which looks > like >> >> memuconfig: >> $(Q)export KCONFIG_CONFIG=.config >> >> libpayload: >> $(Q)export KCONFIG_CONFIG=lib.config > > > in this case i can not change this variable. Is there any suggestion about > this? > i cc this mail to the coreboot list, there may some one known this problem. > -- http://se-eng.com -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

