mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
gcc-cross: Use staging for local-prefix instead of cross, undo ARCH_FLAGS_FOR_TARGET change
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2763 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -4,7 +4,7 @@ PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
|
|||||||
PACKAGES = ""
|
PACKAGES = ""
|
||||||
|
|
||||||
# This is intended to be a -very- basic config
|
# This is intended to be a -very- basic config
|
||||||
EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
|
EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR}/${TARGET_SYS} \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--disable-threads \
|
--disable-threads \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
|
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
|
||||||
|
|
||||||
EXTRA_OECONF_PATHS = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
|
EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR}/${TARGET_SYS} \
|
||||||
--with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++"
|
--with-gxx-include-dir=${STAGING_DIR}/${TARGET_SYS}/include/c++"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
rm -f ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
|
rm -f ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
|
||||||
|
|||||||
@@ -47,11 +47,11 @@ CPPFLAGS = ""
|
|||||||
|
|
||||||
# Used by configure to define additional values for FLAGS_FOR_TARGET -
|
# Used by configure to define additional values for FLAGS_FOR_TARGET -
|
||||||
# passed to all the compilers.
|
# passed to all the compilers.
|
||||||
ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_DIR}/${TARGET_SYS}/include"
|
ARCH_FLAGS_FOR_TARGET = ""
|
||||||
#NOTE: not tested on other platforms, the following is probably correct
|
#NOTE: not tested on other platforms, the following is probably correct
|
||||||
# everywhere!
|
# everywhere!
|
||||||
ARCH_FLAGS_FOR_TARGET_slugos = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
|
ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}"
|
||||||
ARCH_FLAGS_FOR_TARGET_unslung = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
|
ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}"
|
||||||
EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
|
EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
|
||||||
|
|
||||||
require gcc-fpu.inc
|
require gcc-fpu.inc
|
||||||
|
|||||||
Reference in New Issue
Block a user