diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 14:01:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 14:01:55 +0000 |
commit | 96502b190d236f38574a88f947e5ba57956642cb (patch) | |
tree | 2f832fc26c1547ca0f0b90f0de8e1fd5b0f6b9cc | |
parent | b059ff9b659ac3b8f4ac48bb18450366ff18ce81 (diff) |
gcc: Some futher .bb -> .inc changes
-rw-r--r-- | classes/cpan.bbclass | 13 | ||||
-rw-r--r-- | classes/insane.bbclass | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_csl-arm-2005q3.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_csl-arm-cvs.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_csl-arm.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-csl-arm-cvs.inc | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-native_3.4.4.bb | 2 | ||||
-rw-r--r-- | packages/glib-2.0/glib-2.0_2.15.6.bb | 2 | ||||
-rw-r--r-- | packages/gpsdrive/gpsdrive_2.10pre4.bb | 1 | ||||
-rw-r--r-- | packages/gtk-webcore/osb-browser_svn.bb | 2 |
10 files changed, 21 insertions, 9 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 5a0b4a5c92..506d4c4c81 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -50,7 +50,16 @@ cpan_do_compile () { } cpan_do_install () { - oe_runmake install_vendor + if [ ${@is_target(d)} == "yes" ]; then + oe_runmake install_vendor + fi +} + +cpan_do_stage () { + if [ ${@is_target(d)} == "no" ]; then + oe_runmake install_vendor + fi } + -EXPORT_FUNCTIONS do_configure do_compile do_install +EXPORT_FUNCTIONS do_configure do_compile do_install do_stage diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 5ff49cd65e..52264e44b5 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -341,7 +341,7 @@ def package_qa_check_staged(path,d): pkgconfigcheck = workdir else: installed = "installed=yes" - pkgconfigcheck = tmpdir + pkgconfigcheck = workdir # find all .la and .pc files # read the content diff --git a/packages/gcc/gcc-cross_csl-arm-2005q3.bb b/packages/gcc/gcc-cross_csl-arm-2005q3.bb index b779e99435..62dabe48b8 100644 --- a/packages/gcc/gcc-cross_csl-arm-2005q3.bb +++ b/packages/gcc/gcc-cross_csl-arm-2005q3.bb @@ -1,4 +1,4 @@ -require gcc_csl-arm-2005q3.bb +require gcc-csl-arm-2005q3.inc # path mangling, needed by the cross packaging require gcc-paths-cross.inc inherit cross diff --git a/packages/gcc/gcc-cross_csl-arm-cvs.bb b/packages/gcc/gcc-cross_csl-arm-cvs.bb index a9cb478701..93d00179d1 100644 --- a/packages/gcc/gcc-cross_csl-arm-cvs.bb +++ b/packages/gcc/gcc-cross_csl-arm-cvs.bb @@ -1,4 +1,4 @@ -require gcc_csl-arm-cvs.bb +require gcc-csl-arm-cvs.inc # path mangling, needed by the cross packaging require gcc-paths-cross.inc inherit cross diff --git a/packages/gcc/gcc-cross_csl-arm.bb b/packages/gcc/gcc-cross_csl-arm.bb index 5ca4b949e0..e44e43aa25 100644 --- a/packages/gcc/gcc-cross_csl-arm.bb +++ b/packages/gcc/gcc-cross_csl-arm.bb @@ -1,4 +1,4 @@ -require gcc_csl-arm.bb +require gcc-csl-arm.inc # path mangling, needed by the cross packaging require gcc-paths-cross.inc inherit cross diff --git a/packages/gcc/gcc-csl-arm-cvs.inc b/packages/gcc/gcc-csl-arm-cvs.inc index d8e5fee2bb..334ae9c728 100644 --- a/packages/gcc/gcc-csl-arm-cvs.inc +++ b/packages/gcc/gcc-csl-arm-cvs.inc @@ -1,4 +1,4 @@ -require gcc_csl-arm.bb +require gcc-csl-arm.inc PV = "3.4.4+csl-arm-${SRCDATE}" BINV = "3.4.4" diff --git a/packages/gcc/gcc-native_3.4.4.bb b/packages/gcc/gcc-native_3.4.4.bb index d70a4f5464..f20937d60c 100644 --- a/packages/gcc/gcc-native_3.4.4.bb +++ b/packages/gcc/gcc-native_3.4.4.bb @@ -1,3 +1,3 @@ -require gcc_${PV}.bb +require gcc-${PV}.inc require gcc-native.inc PROVIDES += "gcc3-native" diff --git a/packages/glib-2.0/glib-2.0_2.15.6.bb b/packages/glib-2.0/glib-2.0_2.15.6.bb index 525a9d23de..6e27ac09e2 100644 --- a/packages/glib-2.0/glib-2.0_2.15.6.bb +++ b/packages/glib-2.0/glib-2.0_2.15.6.bb @@ -1,5 +1,7 @@ require glib.inc +DEFAULT_PREFERENCE = "-1" + SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.15/glib-${PV}.tar.bz2 \ file://glibconfig-sysdefs.h \ file://configure-libtool.patch;patch=1 \ diff --git a/packages/gpsdrive/gpsdrive_2.10pre4.bb b/packages/gpsdrive/gpsdrive_2.10pre4.bb index 102a917c1f..fb8b25aa6d 100644 --- a/packages/gpsdrive/gpsdrive_2.10pre4.bb +++ b/packages/gpsdrive/gpsdrive_2.10pre4.bb @@ -31,3 +31,4 @@ FILES_${PN}-map-icons-classic = "${datadir}/map-icons/classic.small" FILES_${PN}-map-icons-other = "${datadir}/map-icons/classic.big ${datadir}/map-icons/japan ${datadir}/map-icons/nickw ${datadir}/map-icons/square.big ${datadir}/map-icons/square.small ${datadir}/map-icons/svg" FILES_${PN}-maps = "${datadir}/${PN}/maps ${datadir}/${PN}/map_koord.txt" FILES_${PN}-doc = "${datadir}/man ${datadir}/${PN}/Documentation" + diff --git a/packages/gtk-webcore/osb-browser_svn.bb b/packages/gtk-webcore/osb-browser_svn.bb index 912215cfbd..44e5c122e5 100644 --- a/packages/gtk-webcore/osb-browser_svn.bb +++ b/packages/gtk-webcore/osb-browser_svn.bb @@ -14,5 +14,5 @@ SRC_URI = "svn://gtk-webcore.svn.sourceforge.net/svnroot/gtk-webcore/trunk;modul S = "${WORKDIR}/osb-browser" -DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE = "5" |