summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.oeclass2
-rw-r--r--classes/module.oeclass2
-rw-r--r--classes/module_strip.oeclass0
3 files changed, 4 insertions, 0 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index 922ea2cf41..da279c0489 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -1,3 +1,5 @@
+inherit module_strip
+
PROVIDES += "virtual/kernel"
DEPENDS += "virtual/${TARGET_PREFIX}depmod virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules"
diff --git a/classes/module.oeclass b/classes/module.oeclass
index 669e1f3d18..f4e3ef2075 100644
--- a/classes/module.oeclass
+++ b/classes/module.oeclass
@@ -1,3 +1,5 @@
+inherit module_strip
+
RDEPENDS += "kernel (${KERNEL_VERSION})"
DEPENDS += "virtual/kernel"
diff --git a/classes/module_strip.oeclass b/classes/module_strip.oeclass
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/classes/module_strip.oeclass