summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-10-04 15:50:53 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2009-10-04 15:50:53 +0200
commit2208b42bea7850513d9df8f1edbfad1df083c5ad (patch)
treef5205d71dbc42803c6853888f5f69c2ad4dfdd22 /classes
parente02161e5582a182d8a3b672ad91fc27843f1a438 (diff)
parentbcd5894dcd9db9234dd6d99a9e1bd0d6d8fef19a (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'classes')
-rw-r--r--classes/gnome.bbclass1
-rw-r--r--classes/package.bbclass4
2 files changed, 3 insertions, 2 deletions
diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass
index 3d04298ac6..2045697516 100644
--- a/classes/gnome.bbclass
+++ b/classes/gnome.bbclass
@@ -11,6 +11,7 @@ DEPENDS += "gnome-common"
FILES_${PN} += "${datadir}/application-registry \
${datadir}/mime-info \
${datadir}/mime/packages \
+ ${datadir}/mime/application \
${datadir}/gnome-2.0"
inherit autotools gtk-icon-cache pkgconfig gconf mime
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 5a9fa503ae..0cba1260d8 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -159,7 +159,7 @@ def runstrip(file, d):
if ret:
bb.error("runstrip: 'file %s' failed (forced strip)" % file)
- if "not stripped" not in result:
+ if "not stripped" not in result and not file.endswith(".a"):
bb.debug(1, "runstrip: skip %s" % file)
return 0
@@ -393,7 +393,7 @@ python populate_packages () {
for root, dirs, files in os.walk(dvar):
for f in files:
file = os.path.join(root, f)
- if not os.path.islink(file) and not os.path.isdir(file) and isexec(file):
+ if not os.path.islink(file) and not os.path.isdir(file) and (isexec(file) or ".a" in file):
runstrip(file, d)
pkgdest = bb.data.getVar('PKGDEST', d, 1)