Changeset 31924


Ignore:
Timestamp:
2012-05-27T23:02:36+02:00 (6 years ago)
Author:
nbd
Message:

kernel: fix suppressing -s for linking modules when profiling is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.3/202-reduce_module_size.patch

    r30964 r31924  
    66 KBUILD_CFLAGS_MODULE  := -DMODULE 
    77-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds 
    8 +KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) 
     8+KBUILD_LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) 
    99  
    1010 # Read KERNELRELEASE from include/config/kernel.release (if it exists) 
Note: See TracChangeset for help on using the changeset viewer.