diff options
-rw-r--r-- | meta/classes/package.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index c3f077af3a..44e551f6dd 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -870,6 +870,14 @@ python split_and_strip_files () { | |||
870 | elf_file = int(file_list[file][5:]) | 870 | elf_file = int(file_list[file][5:]) |
871 | #bb.note("Strip %s" % file) | 871 | #bb.note("Strip %s" % file) |
872 | runstrip(file, elf_file, d) | 872 | runstrip(file, elf_file, d) |
873 | |||
874 | |||
875 | if (d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): | ||
876 | for root, dirs, files in os.walk(dvar): | ||
877 | for f in files: | ||
878 | if not f.endswith(".ko"): | ||
879 | continue | ||
880 | runstrip(os.path.join(root, f), None, d) | ||
873 | # | 881 | # |
874 | # End of strip | 882 | # End of strip |
875 | # | 883 | # |