summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-10 15:36:29 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-10 15:36:29 +0100
commita0dd61eb2b4f65076d19d24a741feb6feb7c81e3 (patch)
treec17dacf69033d86860efad6ca5da070023246675 /meta/classes
parentc33529794a541a617dc9c291b57acae55dd50af6 (diff)
downloadopenembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.gz
openembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.bz2
openembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.zip
package.bbclass: Use --preserve-dates option when stripping kernel modules
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d8e480f1ff..fa47cd0eb6 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -157,7 +157,7 @@ def runstrip(file, d):
# Handle kernel modules specifically - .debug directories here are pointless
if file.find("/lib/modules/") != -1 and file.endswith(".ko"):
- return os.system("%s'%s' -g --remove-section=.comment --remove-section=.note '%s'" % (pathprefix, strip, file))
+ return os.system("%s'%s' --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates '%s'" % (pathprefix, strip, file))
newmode = None
if not os.access(file, os.W_OK):