Damien Zammit has uploaded this change for review. ( https://review.coreboot.org/21355
Change subject: device/Kconfig: Make Ada dependent on GCC toolchain
......................................................................
device/Kconfig: Make Ada dependent on GCC toolchain
libgfxinit cannot compile with clang since it has
no Ada support so disable it on clang builds
Change-Id: I5db0353cdab4d24fd6832393901d8f47cf25849d
Signed-off-by: Damien Zammit <damien(a)zamaudio.com>
---
M src/device/Kconfig
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/21355/1
diff --git a/src/device/Kconfig b/src/device/Kconfig
index a5b8247..d2b3db9 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -73,7 +73,7 @@
config MAINBOARD_USE_LIBGFXINIT
bool "Use libgfxinit"
- depends on MAINBOARD_HAS_LIBGFXINIT
+ depends on MAINBOARD_HAS_LIBGFXINIT && COMPILER_GCC
select HAVE_VGA_TEXT_FRAMEBUFFER
select HAVE_LINEAR_FRAMEBUFFER
select RAMSTAGE_LIBHWBASE
--
To view, visit https://review.coreboot.org/21355
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5db0353cdab4d24fd6832393901d8f47cf25849d
Gerrit-Change-Number: 21355
Gerrit-PatchSet: 1
Gerrit-Owner: Damien Zammit <damien(a)zamaudio.com>
Damien Zammit has uploaded this change for review. ( https://review.coreboot.org/21352
Change subject: abuild: Allow building with any toolchain
......................................................................
abuild: Allow building with any toolchain
Adds -A --any-toolchain option to abuild
This is handy for those who want to test compiling
all board configs with abuild using a non-coreboot toolchain
Change-Id: Idd599b0d2c324ad88ba3c83cdf3b180eb6d1fc80
Signed-off-by: Damien Zammit <damien(a)zamaudio.com>
---
M util/abuild/abuild
1 file changed, 7 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/21352/1
diff --git a/util/abuild/abuild b/util/abuild/abuild
index e03753a..91c5bf9 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -527,6 +527,7 @@
Options:\n"
[-a|--all] Build previously succeeded ports as well
+ [-A|--any-toolchain] Use any toolchain
[-B|--blobs] Allow using binary files
[--checksum <path/basefile>] Store checksums at path/basefile
[-c|--cpus <numcpus>] Build on <numcpus> at the same time
@@ -603,12 +604,12 @@
# shellcheck disable=SC2086
if [ "${getoptbrand:0:6}" == "getopt" ]; then
# Detected GNU getopt that supports long options.
- args=$(getopt -l version,verbose,quiet,help,all,target:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive,checksum:,timeless,exitcode -o Vvqhat:p:c:sJCl:rP:uyBLzo:xX:K:d:R:Ie -- "$@") || exit 1
+ args=$(getopt -l version,verbose,quiet,help,all,target:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,any-toolchain,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive,checksum:,timeless,exitcode -o Vvqhat:p:c:sJCl:rP:uyBLAzo:xX:K:d:R:Ie -- "$@") || exit 1
eval set -- $args
retval=$?
else
# Detected non-GNU getopt
- args=$(getopt Vvqhat:p:c:sJCl:rP:uyBLzo:xX:K:d:R:Ie "$@")
+ args=$(getopt Vvqhat:p:c:sJCl:rP:uyBLAzo:xX:K:d:R:Ie "$@")
set -- $args
retval=$?
fi
@@ -674,6 +675,10 @@
customizing="${customizing}, blobs"
configoptions="${configoptions}CONFIG_USE_BLOBS=y\n"
;;
+ -A|--any-toolchain) shift
+ customizing="${customizing}, any-toolchain"
+ configoptions="${configoptions}CONFIG_ANY_TOOLCHAIN=y\n"
+ ;;
-L|--clang) shift
customizing="${customizing}, clang"
configoptions="${configoptions}CONFIG_COMPILER_LLVM_CLANG=y\n# CONFIG_COMPILER_GCC is not set\n"
--
To view, visit https://review.coreboot.org/21352
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idd599b0d2c324ad88ba3c83cdf3b180eb6d1fc80
Gerrit-Change-Number: 21352
Gerrit-PatchSet: 1
Gerrit-Owner: Damien Zammit <damien(a)zamaudio.com>