All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] libtracefs: make it possible to set libdir,includedir and mandir from outside
@ 2022-11-01 11:11 Peter Bergin
  2022-11-10  1:12 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Bergin @ 2022-11-01 11:11 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Peter Bergin

When building in build frameworks such as openembedded it is desired
to use the defintion of directories from the build framework.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
---
v2: corrected prefix to libtracefs (from libtraceevent)

 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 54ea247..8a6c697 100644
--- a/Makefile
+++ b/Makefile
@@ -52,12 +52,12 @@ endif
 
 libdir_relative ?= $(libdir_relative_temp)
 prefix ?= /usr/local
-man_dir = $(prefix)/share/man
+man_dir ?= $(prefix)/share/man
 man_dir_SQ = '$(subst ','\'',$(man_dir))'
-libdir = $(prefix)/$(libdir_relative)
+libdir ?= $(prefix)/$(libdir_relative)
 libdir_SQ = '$(subst ','\'',$(libdir))'
 includedir_relative ?= include/tracefs
-includedir = $(prefix)/$(includedir_relative)
+includedir ?= $(prefix)/$(includedir_relative)
 includedir_SQ = '$(subst ','\'',$(includedir))'
 pkgconfig_dir ?= $(word 1,$(shell $(PKG_CONFIG) 		\
 			--variable pc_path pkg-config | tr ":" " "))
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] libtracefs: make it possible to set libdir,includedir and mandir from outside
  2022-11-01 11:11 [PATCH v2] libtracefs: make it possible to set libdir,includedir and mandir from outside Peter Bergin
@ 2022-11-10  1:12 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2022-11-10  1:12 UTC (permalink / raw)
  To: Peter Bergin; +Cc: linux-trace-devel

On Tue,  1 Nov 2022 12:11:43 +0100
Peter Bergin <peter@berginkonsult.se> wrote:

> When building in build frameworks such as openembedded it is desired
> to use the defintion of directories from the build framework.
> 
> Signed-off-by: Peter Bergin <peter@berginkonsult.se>

Applied. Thanks Peter!

-- Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10  1:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 11:11 [PATCH v2] libtracefs: make it possible to set libdir,includedir and mandir from outside Peter Bergin
2022-11-10  1:12 ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.