Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/xenomai: update udev rules search path
@ 2017-04-30 11:14 Romain Naour
  2017-04-30 19:04 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2017-04-30 11:14 UTC (permalink / raw)
  To: buildroot

The udev rules has been moved to kernel/cobalt/udev.

Fixes:
http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
Do we want to keep the old path in the .mk for backward compatibility
with Xenomai < 3 ?
---
 package/xenomai/xenomai.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index c1477d9..fa46819 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -146,7 +146,7 @@ XENOMAI_DEPENDENCIES += udev
 
 define XENOMAI_INSTALL_UDEV_RULES
 	if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
-		for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
+		for f in $(@D)/kernel/cobalt/udev/*.rules ; do \
 			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
 		done ; \
 	fi;
-- 
2.9.3

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

* [Buildroot] [PATCH] package/xenomai: update udev rules search path
  2017-04-30 11:14 [Buildroot] [PATCH] package/xenomai: update udev rules search path Romain Naour
@ 2017-04-30 19:04 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-30 19:04 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 30 Apr 2017 13:14:38 +0200, Romain Naour wrote:
> The udev rules has been moved to kernel/cobalt/udev.
> 
> Fixes:
> http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>

Applied, thanks!

> Do we want to keep the old path in the .mk for backward compatibility
> with Xenomai < 3 ?

No, there are already lots of things that no longer work with Xenomai <
3.

>  define XENOMAI_INSTALL_UDEV_RULES
>  	if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \

Why do we have this test here? XENOMAI_INSTALL_UDEV_RULES is only used
when udev is enabled, so this folder should already exist, no?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-04-30 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-30 11:14 [Buildroot] [PATCH] package/xenomai: update udev rules search path Romain Naour
2017-04-30 19:04 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox