New commits:
commit 39b88813d4be09afc70a2ebebc0289a2092a3753
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
linux: strip modules if strip is in the sorcery optimisation list,
slightly modified patch from Glyn Kennington #14563
diff --git a/kernels/linux/HISTORY b/kernels/linux/HISTORY
index 1f98921..ef428f7 100644
--- a/kernels/linux/HISTORY
+++ b/kernels/linux/HISTORY
@@ -1,3 +1,7 @@
+2008-09-07 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * INSTALL: strip modules if strip is in the sorcery optimisation list,
+ slightly modified patch from Glyn Kennington #14563
+
2008-08-30 Eric Sandall <sandalle AT sourcemage.org>
* latest.defaults: Set latest PRE_2_6 to 2.6.27-rc5
* info/patches/PRE_2_6/patch-2.6.27-rc5: Added
diff --git a/kernels/linux/INSTALL b/kernels/linux/INSTALL
index ff38c56..cb03e50 100755
--- a/kernels/linux/INSTALL
+++ b/kernels/linux/INSTALL
@@ -6,7 +6,13 @@ if [[ -z "$INTERNAL_ISO_VAR" ]] ; then
case "$VERSION" in
2.[0246]*)
message "${MESSAGE_COLOR}installing for a 2.x
kernel${DEFAULT_COLOR}" &&
- make INSTALL_MOD_PATH="${INSTALL_ROOT}"
modules_install
+ local strip_modules
+ if list_find "$OPTIMIZATIONS" strip; then
+ # makes make run strip --strip-debug
over the modules
+ strip_modules=1
+ fi
+
+ make INSTALL_MOD_PATH="${INSTALL_ROOT}"
INSTALL_MOD_STRIP="$strip_modules" modules_install
;;
*)
message "${PROBLEM_COLOR}I again don't know
what version: $VERSION is${DEFAULT_COLOR}" &&
[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (39b88813d4be09afc70a2ebebc0289a2092a3753),
Jaka Kranjc, 09/07/2008