diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian.inc | 24 | ||||
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian_2.18.bb | 3 | ||||
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian_2.19.bb | 3 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian.inc | 4 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | 23 |
5 files changed, 57 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross-canadian.inc b/meta/packages/binutils/binutils-cross-canadian.inc new file mode 100644 index 0000000000..8d21db70ee --- /dev/null +++ b/meta/packages/binutils/binutils-cross-canadian.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | inherit cross-canadian | ||
2 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk" | ||
3 | EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ | ||
4 | --program-prefix=${TARGET_PREFIX}" | ||
5 | |||
6 | do_stage() { | ||
7 | : | ||
8 | } | ||
9 | |||
10 | do_install () { | ||
11 | autotools_do_install | ||
12 | |||
13 | # Fix the ${prefix}/${TARGET_SYS}/bin/* files to be symlinks | ||
14 | rm ${D}${prefix}/${TARGET_SYS}/bin/.debug -Rf | ||
15 | rm ${D}${prefix}/${TARGET_SYS}/bin/* | ||
16 | for l in ${D}${bindir}/*; do | ||
17 | ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" | ||
18 | done | ||
19 | |||
20 | # Install the libiberty header | ||
21 | install -d ${D}${includedir} | ||
22 | install -m 644 ${S}/include/ansidecl.h ${D}${includedir} | ||
23 | install -m 644 ${S}/include/libiberty.h ${D}${includedir} | ||
24 | } | ||
diff --git a/meta/packages/binutils/binutils-cross-canadian_2.18.bb b/meta/packages/binutils/binutils-cross-canadian_2.18.bb new file mode 100644 index 0000000000..13fc22aa64 --- /dev/null +++ b/meta/packages/binutils/binutils-cross-canadian_2.18.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require binutils_${PV}.bb | ||
2 | require binutils-cross-canadian.inc | ||
3 | PR = "r3" | ||
diff --git a/meta/packages/binutils/binutils-cross-canadian_2.19.bb b/meta/packages/binutils/binutils-cross-canadian_2.19.bb new file mode 100644 index 0000000000..7dad2a620b --- /dev/null +++ b/meta/packages/binutils/binutils-cross-canadian_2.19.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require binutils_${PV}.bb | ||
2 | require binutils-cross-canadian.inc | ||
3 | PR = "r0" | ||
diff --git a/meta/packages/gcc/gcc-cross-canadian.inc b/meta/packages/gcc/gcc-cross-canadian.inc new file mode 100644 index 0000000000..1f2b5e833a --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian.inc | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc" | ||
4 | |||
diff --git a/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb new file mode 100644 index 0000000000..f6e60ebf2d --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | require gcc-${PV}.inc | ||
4 | require gcc-cross-canadian.inc | ||
5 | require gcc-configure-sdk.inc | ||
6 | require gcc-package-sdk.inc | ||
7 | |||
8 | PR = "r7" | ||
9 | |||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" | ||
11 | RDEPENDS_${PN} += "mpfr-nativesdk" | ||
12 | |||
13 | SYSTEMHEADERS = "/usr/include" | ||
14 | SYSTEMLIBS1 = "/usr/lib/" | ||
15 | |||
16 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | ||
17 | --disable-libgomp --disable-libmudflap \ | ||
18 | --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix}" | ||
19 | |||
20 | # to find libmpfr | ||
21 | # export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}" | ||
22 | |||
23 | PARALLEL_MAKE = "" | ||