diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-31 16:37:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-31 16:37:32 +0000 |
commit | 21f2dae46b481dbf34f6874ae814dcd23fc86d54 (patch) | |
tree | 925cbfe22d97fa3158a6af5ec79ceb876f69ec28 /meta/recipes-devtools | |
parent | 0e70557c92d02a024fd6028d3f0530f3ece979e0 (diff) | |
download | poky-21f2dae46b481dbf34f6874ae814dcd23fc86d54.tar.gz |
libgcc: Explicitly wait for the libc packaging to occur before libgcc packages
libgcc can link against the libc and libc can be dynamically renamed
so we ensure we package after libc. There was code in the gcc core
for this in the ipk case but it wasn't moved as part of the libgcc
split, this change fixes that oversight.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-cross.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.5.1.bb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc index 04a8685358..346d1640d1 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc | |||
@@ -20,5 +20,3 @@ do_compile_prepend () { | |||
20 | 20 | ||
21 | LIBGCCS_VAR = "-lgcc_s" | 21 | LIBGCCS_VAR = "-lgcc_s" |
22 | LIBGCCS_VAR_avr32 = "" | 22 | LIBGCCS_VAR_avr32 = "" |
23 | |||
24 | do_package_write_ipk[depends] += "virtual/libc:do_package" | ||
diff --git a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb index a99fdeffd4..b6cf2685e5 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb | |||
@@ -38,5 +38,9 @@ do_install () { | |||
38 | fi | 38 | fi |
39 | } | 39 | } |
40 | 40 | ||
41 | do_package_write_ipk[depends] += "virtual/libc:do_package" | ||
42 | do_package_write_deb[depends] += "virtual/libc:do_package" | ||
43 | do_package_write_rpm[depends] += "virtual/libc:do_package" | ||
44 | |||
41 | BBCLASSEXTEND = "nativesdk" | 45 | BBCLASSEXTEND = "nativesdk" |
42 | 46 | ||