mbox series

[v2,00/15] libtracefs: Updates to the Makefile

Message ID 20211217055041.19559-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Updates to the Makefile | expand

Message

Steven Rostedt Dec. 17, 2021, 5:50 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>


While cleaning up the libtraceevent Makefile using the libtracefs Makefiles as
guide, I found various issues with the libtracefs Makefiles.

This cleans up those issues.

Changes since v1: https://lore.kernel.org/all/20211217004214.16074-1-rostedt@goodmis.org/

 - Updated .gitignore
 - Build into lib and not lib/tracefs
 - More clean ups of the samples directory
 - Fixed a few bugs

Steven Rostedt (VMware) (15):
  libtracefs: Update gitignore file
  libtracefs: Have make tags and TAGS honor O= build directory
  libtracefs: Fix stream example
  libtracefs: Fix samples Makefile
  libtracefs: Remove unused "bindir" from Makefile
  libtracefs: Remove unneeded blkflags from Makefile
  libtracefs: Add "DESCEND" output when descending into directories
    during build
  libtracefs: Have make clean output cleaner
  libtracefs: Quiet mv: cannot stat message for libtracefs.a
  libtracefs: Quiet "Nothing to be done for" messages
  libtracefs: Have sample build look cleaner
  libtracefs: Have samples build in separate directory from bin
  libtracefs: Build in the same directories as the source
  libtracefs: Add clean descend
  libtracefs: Remove build_prefix file on make clean

 .gitignore                          |  4 ++
 Documentation/.gitignore            |  1 +
 Documentation/libtracefs-stream.txt |  1 +
 Makefile                            | 85 +++++++++++++++--------------
 samples/Makefile                    | 36 ++++++------
 scripts/utils.mk                    | 54 +++++++++++++++++-
 src/Makefile                        |  7 +--
 utest/Makefile                      |  2 +-
 8 files changed, 124 insertions(+), 66 deletions(-)