2012-02-20 11:03:17 +02:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2012-03-03 16:10:24 +02:00
|
|
|
@@ -374,7 +374,7 @@ KBUILD_CFLAGS_KERNEL :=
|
2012-02-20 11:03:17 +02: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 15:03:14 +02:00
|
|
|
+KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s)
|
2012-02-20 11:03:17 +02:00
|
|
|
|
|
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
|
|
|
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
|