Makefile (d9c46b184fcfd33c85a7dc48a653435a08e21f56) Makefile (051dbb918c7fb7da8e64a2cd0d804ba73399709f)
1#
2# Makefile for some libs needed in the kernel.
3#
4
5ifdef CONFIG_FUNCTION_TRACER
6ORIG_CFLAGS := $(KBUILD_CFLAGS)
7KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
8endif

--- 102 unchanged lines hidden (view full) ---

111
112obj-$(CONFIG_AVERAGE) += average.o
113
114obj-$(CONFIG_CPU_RMAP) += cpu_rmap.o
115
116obj-$(CONFIG_CORDIC) += cordic.o
117
118obj-$(CONFIG_MPILIB) += mpi/
1#
2# Makefile for some libs needed in the kernel.
3#
4
5ifdef CONFIG_FUNCTION_TRACER
6ORIG_CFLAGS := $(KBUILD_CFLAGS)
7KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
8endif

--- 102 unchanged lines hidden (view full) ---

111
112obj-$(CONFIG_AVERAGE) += average.o
113
114obj-$(CONFIG_CPU_RMAP) += cpu_rmap.o
115
116obj-$(CONFIG_CORDIC) += cordic.o
117
118obj-$(CONFIG_MPILIB) += mpi/
119obj-$(CONFIG_DIGSIG) += digsig.o
119
120hostprogs-y := gen_crc32table
121clean-files := crc32table.h
122
123$(obj)/crc32.o: $(obj)/crc32table.h
124
125quiet_cmd_crc32 = GEN $@
126 cmd_crc32 = $< > $@
127
128$(obj)/crc32table.h: $(obj)/gen_crc32table
129 $(call cmd,crc32)
120
121hostprogs-y := gen_crc32table
122clean-files := crc32table.h
123
124$(obj)/crc32.o: $(obj)/crc32table.h
125
126quiet_cmd_crc32 = GEN $@
127 cmd_crc32 = $< > $@
128
129$(obj)/crc32table.h: $(obj)/gen_crc32table
130 $(call cmd,crc32)