-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
dbd66f1
commit 064365f
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters