util/nvramtool: Create nvramtool object directories earlier
commit186c2f9abcd7d98a15ae6b8f92f3fd7cfa41d54e
authorPatrick Georgi <pgeorgi@google.com>
Tue, 17 Dec 2019 15:59:47 +0000 (17 16:59 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 20 Jan 2020 14:31:29 +0000 (20 14:31 +0000)
tree18b8e9a433bbd1d581a858640a843ca036d79a3d
parentd76947f13b760d876fdfb675bac992cb4275e1c1
util/nvramtool: Create nvramtool object directories earlier

The existing rule created a potential race condition between creating
the directory and putting files in there, so use our existing
infrastructure for directory creation instead.

Change-Id: If52a9f558c7d9ce85f71ba53232594699c9d357a
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37798
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/nvramtool/Makefile.inc