diff options
author | Richard Marko <srk@48.io> | 2023-10-16 15:26:33 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-10-31 17:04:57 +0000 |
commit | cec3a7bf9271334c553fd59ff9d54081cdd4941b (patch) | |
tree | f86a2476464e4b1af58b4a24afb13681261b367e /util/kconfig/Makefile.inc | |
parent | af46b4786f9776d22dacb41e7fed4e52d0cf98e4 (diff) |
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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78415
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'util/kconfig/Makefile.inc')
-rw-r--r-- | util/kconfig/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/kconfig/Makefile.inc b/util/kconfig/Makefile.inc index 36678daf64..5f75ba3c62 100644 --- a/util/kconfig/Makefile.inc +++ b/util/kconfig/Makefile.inc @@ -34,6 +34,7 @@ oldconfig: KCONFIG_STRICT= savedefconfig: $(objk)/conf cp $(DOTCONFIG) $(DEFCONFIG) + chmod +w $(DEFCONFIG) $< --savedefconfig=$(DEFCONFIG) $(KBUILD_KCONFIG) FORCE: |