summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-package.inc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2005-03-09 20:49:56 +0000
committerChris Larson <clarson@kergoth.com>2005-03-09 20:49:56 +0000
commit3c52388dc164fee1d85ca17e648d7e5a1d2d8125 (patch)
tree4d0767078615e5781eef3efa92aa7500c3c2a345 /packages/gcc/gcc-package.inc
parentd59c59b5922e1fd3d31c9951df3c23e69b7193f4 (diff)
Gcc 3.4.x:
Bump PR. Set --with-sysroot for the target gcc build, which fixes the "missing syslimits.h" problem. Gcc packaging updates: split out gcov and cpp, package the /lib/cpp symlink, and rename the -c++ and -f77 packages. BKrev: 422f6174mry97gr8W2Ii-XVLw9aRRQ
Diffstat (limited to 'packages/gcc/gcc-package.inc')
-rw-r--r--packages/gcc/gcc-package.inc26
1 files changed, 16 insertions, 10 deletions
diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc
index 4fa95a8abc..1bde3782c5 100644
--- a/packages/gcc/gcc-package.inc
+++ b/packages/gcc/gcc-package.inc
@@ -3,14 +3,14 @@ gcclibdir ?= "${libdir}/gcc"
# libgcc libstdc++ libg2c are listed in our FILES_*, but are actually
# packaged in the respective cross packages.
PACKAGES = "${PN} ${PN}-symlinks \
- ${PN}-c++ ${PN}-c++-symlinks \
- ${PN}-f77 ${PN}-f77-symlinks \
+ g++ g++-symlinks \
+ cpp cpp-symlinks \
+ g77 g77-symlinks \
+ gcov gcov-symlinks \
libstdc++-dev libg2c-dev \
${PN}-doc"
FILES_${PN} = "${bindir}/${TARGET_PREFIX}gcc \
- ${bindir}/${TARGET_PREFIX}cpp \
- ${bindir}/${TARGET_PREFIX}gcov \
${bindir}/${TARGET_PREFIX}gccbug \
${libexecdir}/gcc/${TARGET_SYS}/${PV}/cc1 \
${libexecdir}/gcc/${TARGET_SYS}/${PV}/collect2 \
@@ -20,24 +20,29 @@ FILES_${PN} = "${bindir}/${TARGET_PREFIX}gcc \
${gcclibdir}/${TARGET_SYS}/${PV}/include"
FILES_${PN}-symlinks = "${bindir}/cc \
${bindir}/gcc \
- ${bindir}/cpp \
- ${bindir}/gcov \
${bindir}/gccbug"
-FILES_${PN}-f77 = "${bindir}/${TARGET_PREFIX}g77 \
+FILES_g77 = "${bindir}/${TARGET_PREFIX}g77 \
${libexecdir}/gcc/${TARGET_SYS}/${PV}/f771"
-FILES_${PN}-f77-symlinks = "${bindir}/g77 \
+FILES_g77-symlinks = "${bindir}/g77 \
${bindir}/f77"
+FILES_cpp = "${bindir}/${TARGET_PREFIX}cpp \
+ ${base_libdir}/cpp"
+FILES_cpp-symlinks = "${bindir}/cpp"
+
+FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov"
+FILES_gcov-symlinks = "${bindir}/gcov"
+
PACKAGE_ARCH_libg2c-dev = "${TARGET_ARCH}"
# Called from within gcc-cross, so libdir is set wrong
FILES_libg2c-dev = "${libdir}/libg2c.so \
${libdir}/libg2c.a \
${libdir}/libfrtbegin.a"
-FILES_${PN}-c++ = "${bindir}/${TARGET_PREFIX}g++ \
+FILES_g++ = "${bindir}/${TARGET_PREFIX}g++ \
${libexecdir}/gcc/${TARGET_SYS}/${PV}/cc1plus"
-FILES_${PN}-c++-symlinks = "${bindir}/c++ \
+FILES_g++-symlinks = "${bindir}/c++ \
${bindir}/g++"
PACKAGE_ARCH_libstdc++-dev = "${TARGET_ARCH}"
@@ -99,4 +104,5 @@ do_install () {
ln -sf g77 f77
ln -sf g++ c++
ln -sf gcc cc
+ ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp
}