diff options
author | Ross Burton <ross.burton@intel.com> | 2014-10-21 11:50:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-24 17:36:16 +0100 |
commit | ac638b7bd1f4a347f2ebbf4f1f8d8f5f54b5173c (patch) | |
tree | 2c33dd637b365ee5091e66442223550524dcb75f /meta/conf/bitbake.conf | |
parent | 9f33c2858c4192ade4d80091448b1513467196d6 (diff) | |
download | poky-ac638b7bd1f4a347f2ebbf4f1f8d8f5f54b5173c.tar.gz |
native.bbclass: use BUILD_* variables
Instead of replicating the logic for the host compiler naming from bitbake.conf,
use the BUILD_* variables directly.
Also change BUILD_CPP to use gcc -E (which native.bbclass previously used), as
some recipes (e.g. grub-efi) use ${CPP} with multiple input files, which gcc -E
can handle but cpp can't.
(From OE-Core rev: 9237d18964ff0bf76f5c37fca21ab3974d81d0d2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 468b175edc..2a8a37f87b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -459,7 +459,7 @@ PYTHON = "${@sys.executable}" | |||
459 | export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" | 459 | export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" |
460 | export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" | 460 | export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" |
461 | export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}" | 461 | export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}" |
462 | export BUILD_CPP = "${BUILD_PREFIX}cpp ${BUILD_CC_ARCH}" | 462 | export BUILD_CPP = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH} -E" |
463 | export BUILD_LD = "${BUILD_PREFIX}ld ${BUILD_LD_ARCH}" | 463 | export BUILD_LD = "${BUILD_PREFIX}ld ${BUILD_LD_ARCH}" |
464 | export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" | 464 | export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" |
465 | export BUILD_AR = "${BUILD_PREFIX}ar" | 465 | export BUILD_AR = "${BUILD_PREFIX}ar" |