Commit 064365f
committed
Change libbpf install_headers DESTDIR to "build" and cleanup
The libbpf headers got installed into ../libbpf/src/root via
invoking make install_headers with DESTDIR=root.
This patch change the clean target to also cleanup this DESTDIR,
but LIBBPF_DIR is supplied by Makefile that include common.mk,
and rm command could be expanded to /root, if Makefile didn't
define this, which is too high risk. Thus, change the DESTDIR
name to "build" before, changing clean target.
I don't think this solves the issue #72, but it helps avoid
stale files in this DESTDIR.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>1 parent dbd66f1 commit 064365f
3 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments