xenomai.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Mauro Salvini <mau.salvi@yahoo.com>
To: xenomai@lists.linux.dev
Cc: Mauro Salvini <mau.salvi@yahoo.com>
Subject: [PATCH v2] copperplate: sysregd: fix Makefile.am
Date: Wed, 22 Feb 2023 15:05:43 +0100	[thread overview]
Message-ID: <20230222140543.19880-1-mau.salvi@yahoo.com> (raw)
In-Reply-To: 20230222140543.19880-1-mau.salvi.ref@yahoo.com

Settings in this Makefile.am are done without the sysregd_
prepend, differently from other tools (e.g. utils/corectl)

This also avoids following Yocto error:

  do_package_qa: QA Issue: File /usr/sbin/sysregd in package xenomai
  doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]

Signed-off-by: Mauro Salvini <mau.salvi@yahoo.com>
---
 lib/copperplate/regd/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/copperplate/regd/Makefile.am b/lib/copperplate/regd/Makefile.am
index 3b14e9863..590a47c2f 100644
--- a/lib/copperplate/regd/Makefile.am
+++ b/lib/copperplate/regd/Makefile.am
@@ -1,14 +1,14 @@
 sbin_PROGRAMS = sysregd
 
-CPPFLAGS = 			\
+sysregd_CPPFLAGS = 			\
 	@XENO_USER_CFLAGS@	\
 	@XENO_FUSE_CFLAGS@	\
 	-I$(top_srcdir)/lib	\
 	-I$(top_srcdir)/include
 
-LDFLAGS = $(XENO_POSIX_WRAPPERS)
+sysregd_LDFLAGS = $(XENO_POSIX_WRAPPERS)
 
-LDADD = 			\
+sysregd_LDADD = 			\
 	../libcopperplate@CORE@.la	\
 	@XENO_CORE_LDADD@	\
 	@XENO_USER_LDADD@	\
-- 
2.17.1


       reply	other threads:[~2023-02-22 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230222140543.19880-1-mau.salvi.ref@yahoo.com>
2023-02-22 14:05 ` Mauro Salvini [this message]
2023-02-23 17:41   ` [PATCH v2] copperplate: sysregd: fix Makefile.am Jan Kiszka

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=20230222140543.19880-1-mau.salvi@yahoo.com \
    --to=mau.salvi@yahoo.com \
    --cc=xenomai@lists.linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).