2012-02-20 09:03:17 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2012-03-01 19:49:02 +00:00
|
|
|
@@ -374,7 +374,7 @@ KBUILD_CFLAGS_KERNEL :=
|
2012-02-20 09:03:17 +00:00
|
|
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
|
|
|
KBUILD_AFLAGS_MODULE := -DMODULE
|
|
|
|
KBUILD_CFLAGS_MODULE := -DMODULE
|
|
|
|
-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
|
2012-03-17 13:03:14 +00:00
|
|
|
+KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s)
|
2012-02-20 09:03:17 +00:00
|
|
|
|
|
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
|
|
|
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
|