summaryrefslogtreecommitdiff
path: root/classes/module_strip.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/module_strip.oeclass')
-rw-r--r--classes/module_strip.oeclass18
1 files changed, 0 insertions, 18 deletions
diff --git a/classes/module_strip.oeclass b/classes/module_strip.oeclass
deleted file mode 100644
index 85c4cf08e6..0000000000
--- a/classes/module_strip.oeclass
+++ /dev/null
@@ -1,18 +0,0 @@
-#DEPENDS_append = " module-strip"
-
-do_strip_modules () {
- for p in ${PACKAGES}; do
- if test -e ${WORKDIR}/install/$p/lib/modules; then
- modules="`find ${WORKDIR}/install/$p/lib/modules -name \*.o`"
- if [ -n "$modules" ]; then
- ${STRIP} -v -g $modules
-# NM="${CROSS_DIR}/bin/${HOST_PREFIX}nm" OBJCOPY="${CROSS_DIR}/bin/${HOST_PREFIX}objcopy" strip_module $modules
- fi
- fi
- done
-}
-
-python do_package_append () {
- if (oe.data.getVar('INHIBIT_PACKAGE_STRIP', d, 1) != '1'):
- oe.build.exec_func('do_strip_modules', d)
-}