Kconfig: Write tmp files into same directory as target files
commit7b2deddbb0ef350e189fe42c025b07c943aedc4c
authorRaul E Rangel <rrangel@chromium.org>
Thu, 25 Jul 2019 21:49:52 +0000 (25 15:49 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 30 Aug 2019 10:42:29 +0000 (30 10:42 +0000)
tree7b2ef4460f7c8def555033edae8523d84f487ab8
parentd2f90a0659ff1036fd313b37705b04e9e9633b01
Kconfig: Write tmp files into same directory as target files

This removes the need for COREBOOT_BUILD_DIR in Kconfig. Since the
original files will be replaced with the tmp file, the parent directory
already needs to be writable.

Before this change, the tmp files would be created in the CWD (src) if
COREBOOT_BUILD_DIR was not specified.

BUG=b:112267918
TEST=emerge-grunt coreboot and verified no tmp files were created in the
src directory.

Change-Id: Icdaf2ff3dd1ec98813b75ef55b96e38e1ca19ec7
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34244
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Documentation/getting_started/kconfig.md
util/kconfig/confdata.c