summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-26 05:01:17 +0000
committerChris Larson <clarson@kergoth.com>2004-05-26 05:01:17 +0000
commitc7ee27c9237e2586f6b06845cd3b1e6f686d5cfe (patch)
tree5fcd0977cf5db2dbfa5d0fa1762b91e7b6df8574
parent32cceafdb07307581ea9d0b82e3b4453589a7394 (diff)
Dont try splitting gconvs in glibc when PACKAGES is empty.
BKrev: 40b4249dRrITpSFGcetiyRRrzhjNaw
-rw-r--r--glibc/glibc_2.3.2.oe3
-rw-r--r--glibc/glibc_cvs.oe3
2 files changed, 6 insertions, 0 deletions
diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe
index 92a0316da1..ca40a7b480 100644
--- a/glibc/glibc_2.3.2.oe
+++ b/glibc/glibc_2.3.2.oe
@@ -274,6 +274,9 @@ python package_do_split_gconvs () {
oe.note("package requested not splitting gconvs")
return
+ if not oe.data.getVar('PACKAGES', d, 1):
+ return
+
libdir = oe.data.getVar('libdir', d, 1)
if not libdir:
oe.error("libdir not defined")
diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe
index df80e95100..1fbaf9df0d 100644
--- a/glibc/glibc_cvs.oe
+++ b/glibc/glibc_cvs.oe
@@ -198,6 +198,9 @@ python package_do_split_gconvs () {
oe.note("package requested not splitting gconvs")
return
+ if not oe.data.getVar('PACKAGES', d, 1):
+ return
+
libdir = oe.data.getVar('libdir', d, 1)
if not libdir:
oe.error("libdir not defined")