source: trunk/target/linux/generic/patches-2.6.37/015-strip_module_local_symbols.patch @ 26298

Last change on this file since 26298 was 26298, checked in by nbd, 6 years ago

kernel: remove all local symbols from kernel modules at link time to reduce their size

File size: 437 bytes
  • Makefile

    a b  
    360360KBUILD_AFLAGS   := -D__ASSEMBLY__ 
    363 KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/ 
     363KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/ -x 
    365365# Read KERNELRELEASE from include/config/kernel.release (if it exists) 
    366366KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) 
Note: See TracBrowser for help on using the repository browser.