Skip to content

Commit

Permalink
[debug] Show cc info
Browse files Browse the repository at this point in the history
  • Loading branch information
qwersem committed Jan 9, 2024
1 parent ec4ec5b commit f4bda55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/Kconfig.include
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ $(error-if,$(failure,command -v $(LD)),linker '$(LD)' not found)

# Get the compiler name, version, and error out if it is not supported.
cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
cc-name := $(shell,set -- $(cc-info) && echo $1)
cc-version := $(shell,set -- $(cc-info) && echo $2)
$(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this compiler is not supported.)
cc-name := $(shell,set -- $(cc-info) && echo $1)
cc-version := $(shell,set -- $(cc-info) && echo $2)
Expand Down

0 comments on commit f4bda55

Please sign in to comment.