[oe-commits] org.oe.dev gcc-cross: add 4.2.0
koen commit
openembedded-commits at lists.openembedded.org
Thu May 31 22:08:53 UTC 2007
gcc-cross: add 4.2.0
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 77ee40e486d3c8ad2628c2ac01e4325879b50821
ViewMTN: http://monotone.openembedded.org/revision.psp?id=77ee40e486d3c8ad2628c2ac01e4325879b50821
Files:
1
packages/gcc/gcc-cross_4.2.0.bb
Diffs:
#
# mt diff -r3216b600c8f4d6bee18fb8c9c78ebff78dd7cf8b -r77ee40e486d3c8ad2628c2ac01e4325879b50821
#
#
#
# add_file "packages/gcc/gcc-cross_4.2.0.bb"
# content [320044acba5e9238f864668a392ad637e62641d5]
#
============================================================
--- packages/gcc/gcc-cross_4.2.0.bb 320044acba5e9238f864668a392ad637e62641d5
+++ packages/gcc/gcc-cross_4.2.0.bb 320044acba5e9238f864668a392ad637e62641d5
@@ -0,0 +1,20 @@
+require gcc_${PV}.bb
+# path mangling, needed by the cross packaging
+require gcc-paths-cross.inc
+inherit cross
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
+# NOTE: split PR. If the main .oe changes something that affects its *build*
+# remember to increment this one too.
+PR = "r1"
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
+PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
+
+# cross build
+require gcc3-build-cross.inc
+# cross packaging
+require gcc-package-cross.inc
+
+SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
+
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR}/${BUILD_SYS}"
More information about the Openembedded-commits
mailing list