X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2FKconfig.include;h=0496efd6e11794223b4870ebc2e340e4098a006e;hb=da4d34b669723508601a4c29daa22cdc669ee005;hp=58fdb5308725cf615045120c27278d62c0e2be28;hpb=4667bf7135147aaf71947bb9195b35eded1df55c;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/scripts/Kconfig.include b/scripts/Kconfig.include index 58fdb53..0496efd 100644 --- a/scripts/Kconfig.include +++ b/scripts/Kconfig.include @@ -45,6 +45,12 @@ $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this compiler is not su cc-name := $(shell,set -- $(cc-info) && echo $1) cc-version := $(shell,set -- $(cc-info) && echo $2) +# Get the assembler name, version, and error out if it is not supported. +as-info := $(shell,$(srctree)/scripts/as-version.sh $(CC) $(CLANG_FLAGS)) +$(error-if,$(success,test -z "$(as-info)"),Sorry$(comma) this assembler is not supported.) +as-name := $(shell,set -- $(as-info) && echo $1) +as-version := $(shell,set -- $(as-info) && echo $2) + # Get the linker name, version, and error out if it is not supported. ld-info := $(shell,$(srctree)/scripts/ld-version.sh $(LD)) $(error-if,$(success,test -z "$(ld-info)"),Sorry$(comma) this linker is not supported.)