diff options
author | Laura Abbott <labbott@redhat.com> | 2018-07-09 20:45:58 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-17 12:18:05 -0400 |
commit | 96f14fe738b69dd97a33efe3cc8ab330af5fd1f1 (patch) | |
tree | 12f565e67f78bb7b3b257fdc741ce9141a593adb /samples | |
parent | efa75c4923be7fedc00b040116657101f20b3678 (diff) |
kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGS
In preparation for enabling command line CFLAGS, re-name HOSTCFLAGS to
KBUILD_HOSTCFLAGS as the internal use only flags. This should not have
any visible effects.
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/bpf/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 1303af10e54d..494ef04c56cc 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile | |||
@@ -164,11 +164,11 @@ always += xdpsock_kern.o | |||
164 | always += xdp_fwd_kern.o | 164 | always += xdp_fwd_kern.o |
165 | always += task_fd_query_kern.o | 165 | always += task_fd_query_kern.o |
166 | 166 | ||
167 | HOSTCFLAGS += -I$(objtree)/usr/include | 167 | KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include |
168 | HOSTCFLAGS += -I$(srctree)/tools/lib/ | 168 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ |
169 | HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ | 169 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ |
170 | HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include | 170 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include |
171 | HOSTCFLAGS += -I$(srctree)/tools/perf | 171 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf |
172 | 172 | ||
173 | HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable | 173 | HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable |
174 | HOSTCFLAGS_trace_helpers.o += -I$(srctree)/tools/lib/bpf/ | 174 | HOSTCFLAGS_trace_helpers.o += -I$(srctree)/tools/lib/bpf/ |