From 7b609a31bede49a725e79324b49a16b0d31a9323 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 17 Mar 2012 13:03:14 +0000 Subject: kernel: improve profiling support, keep static symbols when profiling is enabled SVN-Revision: 30964 --- target/linux/generic/patches-3.2/202-reduce_module_size.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-3.2') 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 f1efb90c37..d12a5e7c0d 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) -- cgit v1.2.3