Richard Marko has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78415?usp=email )
Change subject: util/kconfig: chmod +w before savedefconfig ......................................................................
util/kconfig: chmod +w before savedefconfig
This prevents a headscratcher when .config in root doesn't have a write permission bit set which causes a build failure of savedefconfig not able to write to copied file, for example
*** Error while saving defconfig to: build/mainboard/emulation/qemu-i440fx/cbfs-file.eU5E0t.out.tmp2
Change-Id: I2e7d35c9f6e8add3e7438d163850bc5fda5a99b2 Signed-off-by: Richard Marko srk@48.io --- M util/kconfig/Makefile.inc 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/78415/1
diff --git a/util/kconfig/Makefile.inc b/util/kconfig/Makefile.inc index 36678da..5f75ba3 100644 --- a/util/kconfig/Makefile.inc +++ b/util/kconfig/Makefile.inc @@ -34,6 +34,7 @@
savedefconfig: $(objk)/conf cp $(DOTCONFIG) $(DEFCONFIG) + chmod +w $(DEFCONFIG) $< --savedefconfig=$(DEFCONFIG) $(KBUILD_KCONFIG)
FORCE: