Attention is currently required from: Martin L Roth, Stefan Reinauer.
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68073 )
Change subject: payloads: FILO: Configure libpayload for LLVM/clang when selected in coreboot ......................................................................
payloads: FILO: Configure libpayload for LLVM/clang when selected in coreboot
Selecting LLVM/clang in coreboot, it’s not propagated to libpayload, causing build errors due to incompatible options between GCC and LLVM/clang.
Does not work.
Change-Id: I1f4909a3a8091ec666ecabd4bc8640d1db571a6d Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M payloads/external/FILO/Makefile 1 file changed, 20 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/68073/1
diff --git a/payloads/external/FILO/Makefile b/payloads/external/FILO/Makefile index e2fec36..94c95e4 100644 --- a/payloads/external/FILO/Makefile +++ b/payloads/external/FILO/Makefile @@ -47,7 +47,10 @@ $(MAKE) -C filo LIBCONFIG_PATH=../../../libpayload
libpayload: checkout - cd ../../libpayload && $(MAKE) defconfig && \ +ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y) + cd ../../libpayload && echo "CONFIG_LP_COMPILER_LLVM_CLANG=y" >> .config && pwd && cat .config +endif + cd ../../libpayload && $(MAKE) olddefconfig && \ $(MAKE) && $(MAKE) DESTDIR=../external/FILO/filo/build install
clean: