diff options
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 74b0cfb1fcc3..818c4d455518 100644 --- a/lib/Makefile +++ b/lib/Makefile | |||
@@ -2,6 +2,11 @@ | |||
2 | # Makefile for some libs needed in the kernel. | 2 | # Makefile for some libs needed in the kernel. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifdef CONFIG_FTRACE | ||
6 | ORIG_CFLAGS := $(KBUILD_CFLAGS) | ||
7 | KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS)) | ||
8 | endif | ||
9 | |||
5 | lib-y := ctype.o string.o vsprintf.o cmdline.o \ | 10 | lib-y := ctype.o string.o vsprintf.o cmdline.o \ |
6 | rbtree.o radix-tree.o dump_stack.o \ | 11 | rbtree.o radix-tree.o dump_stack.o \ |
7 | idr.o int_sqrt.o extable.o prio_tree.o \ | 12 | idr.o int_sqrt.o extable.o prio_tree.o \ |
@@ -45,6 +50,7 @@ endif | |||
45 | obj-$(CONFIG_BITREVERSE) += bitrev.o | 50 | obj-$(CONFIG_BITREVERSE) += bitrev.o |
46 | obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o | 51 | obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o |
47 | obj-$(CONFIG_CRC16) += crc16.o | 52 | obj-$(CONFIG_CRC16) += crc16.o |
53 | obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o | ||
48 | obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o | 54 | obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o |
49 | obj-$(CONFIG_CRC32) += crc32.o | 55 | obj-$(CONFIG_CRC32) += crc32.o |
50 | obj-$(CONFIG_CRC7) += crc7.o | 56 | obj-$(CONFIG_CRC7) += crc7.o |