diff options
-rw-r--r-- | tools/bpf/bpftool/Makefile | 2 | ||||
-rw-r--r-- | tools/build/feature/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index 2237bc43f71c..26901ec87361 100644 --- a/tools/bpf/bpftool/Makefile +++ b/tools/bpf/bpftool/Makefile | |||
@@ -39,7 +39,7 @@ CC = gcc | |||
39 | 39 | ||
40 | CFLAGS += -O2 | 40 | CFLAGS += -O2 |
41 | CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow | 41 | CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow |
42 | CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi -I$(srctree)/tools/include -I$(srctree)/tools/lib/bpf -I$(srctree)/kernel/bpf/ | 42 | CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi -I$(srctree)/tools/include -I$(srctree)/tools/lib/bpf -I$(srctree)/kernel/bpf/ |
43 | CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"' | 43 | CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"' |
44 | LIBS = -lelf -lbfd -lopcodes $(LIBBPF) | 44 | LIBS = -lelf -lbfd -lopcodes $(LIBBPF) |
45 | 45 | ||
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index 17f2c73fff8b..bc715f6ac320 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile | |||
@@ -190,7 +190,7 @@ $(OUTPUT)test-libbfd.bin: | |||
190 | $(BUILD) -DPACKAGE='"perf"' -lbfd -lz -liberty -ldl | 190 | $(BUILD) -DPACKAGE='"perf"' -lbfd -lz -liberty -ldl |
191 | 191 | ||
192 | $(OUTPUT)test-disassembler-four-args.bin: | 192 | $(OUTPUT)test-disassembler-four-args.bin: |
193 | $(BUILD) -lbfd -lopcodes | 193 | $(BUILD) -DPACKAGE='"perf"' -lbfd -lopcodes |
194 | 194 | ||
195 | $(OUTPUT)test-liberty.bin: | 195 | $(OUTPUT)test-liberty.bin: |
196 | $(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty | 196 | $(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty |