]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: use syntax CONFIG_FOO=n in tools-only_defconfig
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 16 Oct 2024 09:56:23 +0000 (11:56 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Oct 2024 17:11:55 +0000 (11:11 -0600)
commitc2cd7bd3ecfe058c8365795d5bc9f49bd0ad5a0c
treedda98b0b0833cb4fd37fb6e5c0c3916f83b677c0
parent1ca0ddb643f3b152439f7bb8f6ee3f5826d7102d
configs: use syntax CONFIG_FOO=n in tools-only_defconfig

The tools-only defconfig causes troubles on MacOSX due to the default
C compiler being Clang (LLVM) rather than GCC and more specifically
due to [1]. Therefore replace "# CONFIG_FOO is not set" with the
equivalent "CONFIG_FOO=n" using the following command:

 $ sed -i -e 's/# \(CONFIG_[^ ]*\) is not set/\1=n/' \
       configs/tools-only_defconfig

This fixes the tools_only_macOS CI job on GitHub [2].

[1] https://github.com/llvm/llvm-project/issues/78778
[2] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=9105&view=results

Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/tools-only_defconfig