summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-package-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:29:07 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:29:07 +0000
commit23cc6ed5652ecbbb2f6331f85e648d296650ac4a (patch)
treec265a9408060487f09a3515cf98c371af1414b4b /packages/gcc/gcc-package-cross.inc
parentec203b8c8b063bf6f052aa160ab3ef668d54ff0a (diff)
gcc-cross: Drop gcc-package-target.inc, gcc-package-cross overrides or sets everything needed
Diffstat (limited to 'packages/gcc/gcc-package-cross.inc')
-rw-r--r--packages/gcc/gcc-package-cross.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc
index 51a45cd633..ca940aa6b0 100644
--- a/packages/gcc/gcc-package-cross.inc
+++ b/packages/gcc/gcc-package-cross.inc
@@ -28,16 +28,10 @@ FILES_libstdc++-dev = "${target_includedir}/c++/${PV} \
${target_libdir}/libsupc++.la \
${target_libdir}/libsupc++.a"
-python do_package() {
- if bb.data.getVar('DEBIAN_NAMES', d, 1):
- bb.data.setVar('PKG_libgcc', 'libgcc1', d)
- bb.build.exec_func('package_do_package', d)
-}
-
do_install () {
oe_runmake 'DESTDIR=${D}' install
- # Move libgcc_s into /lib
+ # Move libgcc_s into /lib
mkdir -p ${D}${target_base_libdir}
if [ -f ${D}${target_base_libdir}/libgcc_s.so.? ]; then
# Already in the right location
@@ -53,7 +47,7 @@ do_install () {
- # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr
+ # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr
mkdir -p ${D}${target_libdir}
if [ -f ${D}${prefix}/*/lib/nof/libstdc++.so ]; then