X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/57b73bf423b68390a7ca428306ec0e30348e3401..0432b2b9b938198359cb9e980a72358278f047bb:/target/linux/generic/patches-3.2/202-reduce_module_size.patch diff --git a/target/linux/generic/patches-3.2/202-reduce_module_size.patch b/target/linux/generic/patches-3.2/202-reduce_module_size.patch index f1efb90c3..d12a5e7c0 100644 --- a/target/linux/generic/patches-3.2/202-reduce_module_size.patch +++ b/target/linux/generic/patches-3.2/202-reduce_module_size.patch @@ -5,7 +5,7 @@ KBUILD_AFLAGS_MODULE := -DMODULE KBUILD_CFLAGS_MODULE := -DMODULE -KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds -+KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds -s ++KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) # Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)