diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -512,6 +512,23 @@ export INSTALL_PATH ?= /boot | |||
512 | MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) | 512 | MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) |
513 | export MODLIB | 513 | export MODLIB |
514 | 514 | ||
515 | # | ||
516 | # INSTALL_MOD_STRIP, if defined, will cause modules to be | ||
517 | # stripped after they are installed. If INSTALL_MOD_STRIP is '1', then | ||
518 | # the default option --strip-debug will be used. Otherwise, | ||
519 | # INSTALL_MOD_STRIP will used as the options to the strip command. | ||
520 | |||
521 | ifdef INSTALL_MOD_STRIP | ||
522 | ifeq ($(INSTALL_MOD_STRIP),1) | ||
523 | mod_strip_cmd = $STRIP) --strip-debug | ||
524 | else | ||
525 | mod_strip_cmd = $(STRIP) $(INSTALL_MOD_STRIP) | ||
526 | endif # INSTALL_MOD_STRIP=1 | ||
527 | else | ||
528 | mod_strip_cmd = true | ||
529 | endif # INSTALL_MOD_STRIP | ||
530 | export mod_strip_cmd | ||
531 | |||
515 | 532 | ||
516 | ifeq ($(KBUILD_EXTMOD),) | 533 | ifeq ($(KBUILD_EXTMOD),) |
517 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ | 534 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ |