Skip to content

Commit

Permalink
gcc-4.6: Update to match gcc restructing in OE-Core
Browse files Browse the repository at this point in the history
The include file infra in gcc recipes recieved an overhaul
on OE-Core. This patch matches the toolchain layer recipes
to use the new include files

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
kraj authored and shr-project committed Sep 3, 2013
1 parent 0879762 commit 9f26a42
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
19 changes: 0 additions & 19 deletions toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,3 @@ inherit cross-canadian

require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-cross-canadian.inc
require recipes-devtools/gcc/gcc-configure-sdk.inc
require recipes-devtools/gcc/gcc-package-sdk.inc

DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"

SYSTEMHEADERS = "/usr/include"
SYSTEMLIBS = "/lib/"
SYSTEMLIBS1 = "/usr/lib/"

EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
--disable-libgomp --disable-libmudflap \
--with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
--with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"

# to find libmpfr
# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"

PARALLEL_MAKE = ""
8 changes: 1 addition & 7 deletions toolchain-layer/recipes-devtools/gcc/gcc-cross_4.6.bb
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-cross4.inc

EXTRA_OECONF += "--disable-libunwind-exceptions \
--with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
--with-system-zlib "

ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
require recipes-devtools/gcc/gcc-cross.inc
8 changes: 1 addition & 7 deletions toolchain-layer/recipes-devtools/gcc/gcc-runtime_4.6.bb
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-configure-runtime.inc
require recipes-devtools/gcc/gcc-package-runtime.inc

ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"

EXTRA_OECONF += "--disable-libunwind-exceptions"
EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
require recipes-devtools/gcc/gcc-runtime.inc
5 changes: 1 addition & 4 deletions toolchain-layer/recipes-devtools/gcc/gcc_4.6.bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-configure-target.inc
require recipes-devtools/gcc/gcc-package-target.inc

ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
require recipes-devtools/gcc/gcc-target.inc

0 comments on commit 9f26a42

Please sign in to comment.