diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-17 05:22:30 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-17 05:22:30 +0000 |
commit | b70c0bb25fdf6e631a86cccd9278f9613bbb1420 (patch) | |
tree | aa7d892b4283195934b724534ccbd60aa8f60233 | |
parent | da743b3be46d9e48f9d18a5c23386e87923edccf (diff) |
Add an oeclass to strip kernel modules (strip -g, remove only debug info).
BKrev: 419ae016aT3ZI4qkcz6Ru3zmvWTKFQ
-rw-r--r-- | classes/kernel.oeclass | 2 | ||||
-rw-r--r-- | classes/module.oeclass | 2 | ||||
-rw-r--r-- | classes/module_strip.oeclass | 0 |
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 |