gcc 4.3.2: fix packaging of crt*.o and include-fixed
authorKoen Kooi <koen@openembedded.org>
Fri, 19 Sep 2008 07:57:58 +0000 (07:57 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 19 Sep 2008 07:57:58 +0000 (07:57 +0000)
packages/gcc/gcc-package-target.inc
packages/gcc/gcc_4.3.2.bb

index 975aa88..9076c01 100644 (file)
@@ -20,7 +20,7 @@ FILES_${PN} = "\
   ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \
-  ${gcclibdir}/${TARGET_SYS}/${BINV}/include \
+  ${gcclibdir}/${TARGET_SYS}/${BINV}/include* \
 "
 FILES_${PN}-symlinks = "\
   ${bindir}/cc \
index ee926bd..e2c6e48 100644 (file)
@@ -1,8 +1,13 @@
-PR = "r3"
+PR = "r4"
 require gcc-${PV}.inc
 require gcc-configure-target.inc
 require gcc-package-target.inc
 
+# Gcc 4.3.2 installs crt* in a '4.3.1' dir....
+FILES_${PN} += "\
+        ${gcclibdir}/${TARGET_SYS}/*/*.o \
+"
+
 SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1"
 
 ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"