mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-03 22:44:37 +02:00
gcc: Use globally set GCC_VERSION in recipes
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
This commit is contained in:
committed by
Christopher Larson
parent
6788664c5c
commit
2332707bad
@@ -1,7 +1,6 @@
|
||||
SUMMARY = "The GNU Compiler Collection"
|
||||
HOMEPAGE = "http://www.gnu.org/software/gcc/"
|
||||
SECTION = "devel"
|
||||
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
|
||||
PV = "${GCC_VERSION}"
|
||||
|
||||
inherit external-toolchain
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
|
||||
PV = "${GCC_VERSION}"
|
||||
BINV = "${GCC_VERSION}"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
|
||||
PV = "${GCC_VERSION}"
|
||||
BINV = "${GCC_VERSION}"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ SUMMARY = "The GNU Compiler Collection - libgcc"
|
||||
HOMEPAGE = "http://www.gnu.org/software/gcc/"
|
||||
SECTION = "devel"
|
||||
DEPENDS += "virtual/${TARGET_PREFIX}binutils"
|
||||
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
|
||||
PV = "${GCC_VERSION}"
|
||||
|
||||
inherit external-toolchain
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
SUMMARY = "The GNU Compiler Collection - libgfortran"
|
||||
HOMEPAGE = "http://www.gnu.org/software/gcc/"
|
||||
SECTION = "devel"
|
||||
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
|
||||
PV = "${GCC_VERSION}"
|
||||
|
||||
inherit external-toolchain
|
||||
|
||||
Reference in New Issue
Block a user