kernel: strip unnecessary symbol table information from kernel modules, reduces defau...
[openwrt.git] / target / linux / generic / patches-3.2 / 202-reduce_module_size.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -374,7 +374,7 @@
4 KBUILD_AFLAGS := -D__ASSEMBLY__
5 KBUILD_AFLAGS_MODULE := -DMODULE
6 KBUILD_CFLAGS_MODULE := -DMODULE
7 -KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
8 +KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds -s
9
10 # Read KERNELRELEASE from include/config/kernel.release (if it exists)
11 KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
This page took 0.05565 seconds and 5 git commands to generate.