Skip to contentSkip to conversation

copperplate: sysregd: fix Makefile.am

PATCH Superseded Mauro S. 2 participants 3 messages Feb 22, 2023 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mauro S.

author
#1 lore raw

PATCH 1/1 copperplate: sysregd: fix Makefile.am

To avoid 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]

---
 lib/copperplate/regd/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/copperplate/regd/Makefile.am +3 -0
index 3b14e9863..590a47c2f 100644
@@ -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@[email protected]	\
 	@XENO_CORE_LDADD@	\
 	@XENO_USER_LDADD@	\
Signature · 1 line
2.17.1
#2 lore raw
Quoted 23 lines · Mauro S.

To avoid 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]

---
 lib/copperplate/regd/Makefile.am | 6 +++---

 1 file changed, 3 insertions(+), 3 deletions(-)
lib/copperplate/regd/Makefile.am +0 -0
index 3b14e9863..590a47c2f 100644
@@ -1,14 +1,14 @@

 sbin_PROGRAMS = sysregd
 -CPPFLAGS =             \
+sysregd_CPPFLAGS =             \
     @XENO_USER_CFLAGS@    \
     @XENO_FUSE_CFLAGS@    \
     -I$(top_srcdir)/lib    \

Quoted 8 lines

     -I$(top_srcdir)/include
 -LDFLAGS = $(XENO_POSIX_WRAPPERS)
+sysregd_LDFLAGS = $(XENO_POSIX_WRAPPERS)
 -LDADD =             \
+sysregd_LDADD =             \
     ../libcopperplate@[email protected]    \
     @XENO_CORE_LDADD@    \
     @XENO_USER_LDADD@    \

This was heavily mangled. Please check your mail client settings or use git send-email.

Besides that, some explanation why making the same settings program-only, rather than global, would be good to see in the commit message.

Jan

Signature · 2 lines
Siemens AG, Technology
Competence Center Embedded Linux
author
#3 lore raw

Il 22/02/23 14:29, Jan Kiszka ha scritto:

Quoted 36 lines · Mauro S.
Quoted 21 lines

To avoid 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]

---
  lib/copperplate/regd/Makefile.am | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
lib/copperplate/regd/Makefile.am +1 -0
index 3b14e9863..590a47c2f 100644
@@ -1,14 +1,14 @@
  sbin_PROGRAMS = sysregd
  -CPPFLAGS =             \
+sysregd_CPPFLAGS =             \
      @XENO_USER_CFLAGS@    \

lib/copperplate/regd/Makefile.am line 14

Quoted 10 lines
lib/copperplate/regd/Makefile.am +2 -0
      @XENO_FUSE_CFLAGS@    \
      -I$(top_srcdir)/lib    \
      -I$(top_srcdir)/include
  -LDFLAGS = $(XENO_POSIX_WRAPPERS)
+sysregd_LDFLAGS = $(XENO_POSIX_WRAPPERS)
  -LDADD =             \
+sysregd_LDADD =             \
      ../libcopperplate@[email protected]    \
      @XENO_CORE_LDADD@    \
      @XENO_USER_LDADD@    \

This was heavily mangled. Please check your mail client settings or use git send-email.

Quoted 4 lines

Besides that, some explanation why making the same settings program-only, rather than global, would be good to see in the commit message.

Ok sorry, I will resend it with git send-email (I need some time to manage it to work with yahoo/oauth2...)

Quoted 2 lines

Jan

Signature · 1 line
Mauro S.