Linux Modules
 help / color / mirror / Atom feed
From: Sedat Dilek <sedat.dilek@gmail.com>
To: Lucas De Marchi <lucas.de.marchi@gmail.com>,
	Emil Velikov <emil.l.velikov@gmail.com>,
	linux-modules@vger.kernel.org
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Subject: [PATCH] meson: Collect all prefix get_option at one place
Date: Wed, 23 Oct 2024 22:52:49 +0200	[thread overview]
Message-ID: <20241023205352.45271-1-sedat.dilek@gmail.com> (raw)

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 58acf2eac8e9..2ed33c28471f 100644
--- a/meson.build
+++ b/meson.build
@@ -187,6 +187,7 @@ sysconfdir = get_option('sysconfdir')
 cdata.set_quoted('SYSCONFDIR', sysconfdir)
 
 bindir = join_paths(get_option('prefix'), get_option('bindir'))
+includedir = join_paths(get_option('prefix'), get_option('includedir'))
 libdir = join_paths(get_option('prefix'), get_option('libdir'))
 
 distconfdir = get_option('distconfdir')
@@ -493,7 +494,7 @@ summary({
   'sysconfdir'  : sysconfdir,
   'distconfdir' : distconfdir,
   'libdir'      : libdir,
-  'includedir'  : join_paths(get_option('prefix'), get_option('includedir')),
+  'includedir'  : includedir,
   'bindir'      : bindir
 }, section : 'Directories')
 
-- 
2.45.2


             reply	other threads:[~2024-10-23 20:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 20:52 Sedat Dilek [this message]
2024-10-23 21:27 ` [PATCH] meson: Collect all prefix get_option at one place Lucas De Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241023205352.45271-1-sedat.dilek@gmail.com \
    --to=sedat.dilek@gmail.com \
    --cc=emil.l.velikov@gmail.com \
    --cc=linux-modules@vger.kernel.org \
    --cc=lucas.de.marchi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox