diff options
Diffstat (limited to 'arch/xtensa/boot/lib/Makefile')
-rw-r--r-- | arch/xtensa/boot/lib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/xtensa/boot/lib/Makefile b/arch/xtensa/boot/lib/Makefile index ad8952e8a07f..6868f2ca6af8 100644 --- a/arch/xtensa/boot/lib/Makefile +++ b/arch/xtensa/boot/lib/Makefile | |||
@@ -7,6 +7,13 @@ zlib := inffast.c inflate.c inftrees.c | |||
7 | lib-y += $(zlib:.c=.o) zmem.o | 7 | lib-y += $(zlib:.c=.o) zmem.o |
8 | 8 | ||
9 | ccflags-y := -Ilib/zlib_inflate | 9 | ccflags-y := -Ilib/zlib_inflate |
10 | ifdef CONFIG_FUNCTION_TRACER | ||
11 | CFLAGS_REMOVE_inflate.o = -pg | ||
12 | CFLAGS_REMOVE_zmem.o = -pg | ||
13 | CFLAGS_REMOVE_inftrees.o = -pg | ||
14 | CFLAGS_REMOVE_inffast.o = -pg | ||
15 | endif | ||
16 | |||
10 | 17 | ||
11 | quiet_cmd_copy_zlib = COPY $@ | 18 | quiet_cmd_copy_zlib = COPY $@ |
12 | cmd_copy_zlib = cat $< > $@ | 19 | cmd_copy_zlib = cat $< > $@ |