kbuild: add option for stripping modules while installing them
[deliverable/linux.git] / Documentation / kbuild / makefiles.txt
index a9c00facdf401103a2ef7cb1301694c34a49432d..14ef3868a328d5080b8748507a8e8be576c936cd 100644 (file)
@@ -1123,6 +1123,14 @@ The top Makefile exports the following variables:
        $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE).  The user may
        override this value on the command line if desired.
 
+    INSTALL_MOD_STRIP
+
+       If this variable is specified, will cause modules to be stripped
+       after they are installed.  If INSTALL_MOD_STRIP is '1', then the
+       default option --strip-debug will be used.  Otherwise,
+       INSTALL_MOD_STRIP will used as the option(s) to the strip command.
+
+
 === 8 Makefile language
 
 The kernel Makefiles are designed to run with GNU Make.  The Makefiles
This page took 0.026275 seconds and 5 git commands to generate.