diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-10 15:36:29 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-10 15:36:29 +0100 |
commit | a0dd61eb2b4f65076d19d24a741feb6feb7c81e3 (patch) | |
tree | c17dacf69033d86860efad6ca5da070023246675 /meta | |
parent | c33529794a541a617dc9c291b57acae55dd50af6 (diff) | |
download | openembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.gz openembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.bz2 openembedded-core-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.xz 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')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index d8e480f1f..fa47cd0eb 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): |