makefiles/info.inc.mk: provide info targets about toolchain support
This commit is contained in:
parent
c0a7da3068
commit
ac9311a47a
@ -1,7 +1,8 @@
|
|||||||
.PHONY: info-objsize info-buildsizes info-build info-boards-supported \
|
.PHONY: info-objsize info-buildsizes info-build info-boards-supported \
|
||||||
info-features-missing info-modules info-cpu \
|
info-features-missing info-modules info-cpu \
|
||||||
info-features-provided info-features-required \
|
info-features-provided info-features-required \
|
||||||
info-debug-variable-%
|
info-debug-variable-% info-toolchains-supported \
|
||||||
|
check-toolchain-supported
|
||||||
|
|
||||||
info-objsize:
|
info-objsize:
|
||||||
@case "$(SORTROW)" in \
|
@case "$(SORTROW)" in \
|
||||||
@ -130,3 +131,9 @@ info-features-missing:
|
|||||||
|
|
||||||
info-debug-variable-%:
|
info-debug-variable-%:
|
||||||
@echo $($*)
|
@echo $($*)
|
||||||
|
|
||||||
|
info-toolchains-supported:
|
||||||
|
@echo $(filter-out $(TOOLCHAINS_BLACKLIST),$(TOOLCHAINS_SUPPORTED))
|
||||||
|
|
||||||
|
check-toolchain-supported:
|
||||||
|
@exit $(if $(filter $(TOOLCHAIN),$(filter-out $(TOOLCHAINS_BLACKLIST),$(TOOLCHAINS_SUPPORTED))),0,1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user