kernel: bump 4.4 to 4.4.108
[openwrt/openwrt.git] / target / linux / generic / pending-4.4 / 202-reduce_module_size.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -403,7 +403,7 @@ KBUILD_CFLAGS_KERNEL :=
4 KBUILD_AFLAGS := -D__ASSEMBLY__ $(call cc-option,-fno-PIE)
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 $(if $(CONFIG_PROFILING),,-s)
9
10 # Read KERNELRELEASE from include/config/kernel.release (if it exists)
11 KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)