summaryrefslogtreecommitdiff
path: root/tools/objtool/Build
blob: 2457916a3943710b0571bf29792a6ba97cc262f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
objtool-y += arch/$(ARCH)/
objtool-y += builtin-check.o
objtool-y += elf.o
objtool-y += special.o
objtool-y += objtool.o

objtool-y += libstring.o
objtool-y += str_error_r.o

CFLAGS += -I$(srctree)/tools/lib

$(OUTPUT)libstring.o: ../lib/string.c FORCE
	$(call rule_mkdir)
	$(call if_changed_dep,cc_o_c)

$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
	$(call rule_mkdir)
	$(call if_changed_dep,cc_o_c)