diff options
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian_4.2.3.bb | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 1cbc1fb9b6..b7b449f478 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -34,6 +34,14 @@ LDFLAGS = "${BUILDSDK_LDFLAGS}" | |||
34 | 34 | ||
35 | DEPENDS_GETTEXT = "gettext-native gettext-nativesdk" | 35 | DEPENDS_GETTEXT = "gettext-native gettext-nativesdk" |
36 | 36 | ||
37 | # Path mangling needed by the cross packaging | ||
38 | # Note that we use := here to ensure that libdir and includedir are | ||
39 | # target paths, not CROSS_DIR paths. | ||
40 | target_libdir := "${libdir}" | ||
41 | target_includedir := "${includedir}" | ||
42 | target_base_libdir := "${base_libdir}" | ||
43 | target_prefix := "${prefix}" | ||
44 | |||
37 | # Change to place files in SDKPATH | 45 | # Change to place files in SDKPATH |
38 | prefix = "${SDKPATH}" | 46 | prefix = "${SDKPATH}" |
39 | exec_prefix = "${SDKPATH}" | 47 | exec_prefix = "${SDKPATH}" |
diff --git a/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb b/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb index f6e60ebf2d..f68edbeb12 100644 --- a/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb +++ b/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb | |||
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc | |||
5 | require gcc-configure-sdk.inc | 5 | require gcc-configure-sdk.inc |
6 | require gcc-package-sdk.inc | 6 | require gcc-package-sdk.inc |
7 | 7 | ||
8 | PR = "r7" | 8 | PR = "r8" |
9 | 9 | ||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" | 10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" |
11 | RDEPENDS_${PN} += "mpfr-nativesdk" | 11 | RDEPENDS_${PN} += "mpfr-nativesdk" |
diff --git a/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb index f68edbeb12..64030ad32a 100644 --- a/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb +++ b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | |||
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc | |||
5 | require gcc-configure-sdk.inc | 5 | require gcc-configure-sdk.inc |
6 | require gcc-package-sdk.inc | 6 | require gcc-package-sdk.inc |
7 | 7 | ||
8 | PR = "r8" | 8 | PR = "r9" |
9 | 9 | ||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" | 10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" |
11 | RDEPENDS_${PN} += "mpfr-nativesdk" | 11 | RDEPENDS_${PN} += "mpfr-nativesdk" |