Merge tag 'omap-for-v5.13/fixes-sata' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-rpi.git] / tools / perf / jvmti / Build
1 jvmti-y += libjvmti.o
2 jvmti-y += jvmti_agent.o
3
4 # For strlcpy
5 jvmti-y += libstring.o libctype.o
6
7 CFLAGS_jvmti         = -fPIC -DPIC -I$(JDIR)/include -I$(JDIR)/include/linux
8 CFLAGS_REMOVE_jvmti  = -Wmissing-declarations
9 CFLAGS_REMOVE_jvmti += -Wstrict-prototypes
10 CFLAGS_REMOVE_jvmti += -Wextra
11 CFLAGS_REMOVE_jvmti += -Wwrite-strings
12
13 CFLAGS_libstring.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
14
15 $(OUTPUT)jvmti/libstring.o: ../lib/string.c FORCE
16         $(call rule_mkdir)
17         $(call if_changed_dep,cc_o_c)
18
19 $(OUTPUT)jvmti/libctype.o: ../lib/ctype.c FORCE
20         $(call rule_mkdir)
21         $(call if_changed_dep,cc_o_c)