coreboot-kgpe-d16/util/kconfig
Vadim Bendebury c302d20ed3 Force coreboot mconf to create temp files in the output directory
This change partially addresses the problem with attempting to
generate coreboot image out of tree. The configuration step fails when
in cheroot, if the destination directory is placed in /tmp.

The problem is that the mconf package tries renaming the temporary
file created in the local directory into the destination config file.
If the destination root and the local directory are located on
different file systems, the rename operation fails.

The proper fix (still upcoming) would be to identify all places where
mconf creates temp files, and make sure that all temp files get
created in the destination tree.

This change modifies just one location, which prevents building out of
tree in the most common case.

Test:
  run the following in the coreboot directory in chroot:
    (coreboot) cp config.lumpy .config
    (coreboot) /bin/rm -rf /tmp/cb
    (coreboot) CROSS_COMPILE=i686-pc-linux-gnu- make obj=/tmp/cb oldconfig
    (coreboot) CROSS_COMPILE=i686-pc-linux-gnu- make obj=/tmp/cb

  Observe the build succeed (it was failing during the config phase
  before this change)

Change-Id: If4506e984b8afc192a1689c7b0aa956dd35f66c6
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/815
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-04-02 18:39:22 +02:00
..
lxdialog Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Makefile Respect linker order 2011-12-21 16:27:01 +01:00
POTFILES.in Kconfig! 2009-08-12 15:00:51 +00:00
check.sh Kconfig! 2009-08-12 15:00:51 +00:00
conf.c Kconfig! 2009-08-12 15:00:51 +00:00
confdata.c Force coreboot mconf to create temp files in the output directory 2012-04-02 18:39:22 +02:00
expr.c Kconfig! 2009-08-12 15:00:51 +00:00
expr.h Kconfig! 2009-08-12 15:00:51 +00:00
gconf.c Kconfig! 2009-08-12 15:00:51 +00:00
gconf.glade Kconfig! 2009-08-12 15:00:51 +00:00
images.c Kconfig! 2009-08-12 15:00:51 +00:00
kconfig_load.c Kconfig! 2009-08-12 15:00:51 +00:00
kxgettext.c Kconfig! 2009-08-12 15:00:51 +00:00
lex.zconf.c_shipped Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
lkc.h Kconfig! 2009-08-12 15:00:51 +00:00
lkc_proto.h Kconfig! 2009-08-12 15:00:51 +00:00
mconf.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
menu.c Kconfig! 2009-08-12 15:00:51 +00:00
qconf.cc Kconfig! 2009-08-12 15:00:51 +00:00
qconf.h Kconfig! 2009-08-12 15:00:51 +00:00
regex.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
regex.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
symbol.c Make the kconfig-style build work in mingw: 2009-11-21 19:54:02 +00:00
util.c Kconfig! 2009-08-12 15:00:51 +00:00
zconf.gperf Kconfig! 2009-08-12 15:00:51 +00:00
zconf.hash.c_shipped Kconfig! 2009-08-12 15:00:51 +00:00
zconf.l Kconfig! 2009-08-12 15:00:51 +00:00
zconf.tab.c_shipped Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
zconf.y Kconfig! 2009-08-12 15:00:51 +00:00