Migrate Xenomai to the new infrastructure
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Jan 2012 17:53:40 +0000 (18:53 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 1 Feb 2012 22:05:18 +0000 (23:05 +0100)
Xenomai used to have commented out devices to be created in the device
table that the user had to uncomment. Use the new infrastructure to do
just that.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/xenomai/xenomai.mk
target/generic/device_table_dev.txt

index b1a492f13d807fd6f357979a71040060e948914e..72100f0f9018bb8abc6de80b51e6543e7b37f6cc 100644 (file)
@@ -89,8 +89,12 @@ endef
 
 XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_SKINS
 
-# If you use static /dev creation don't forget to update your
-#  device_table_dev.txt
+define XENOMAI_DEVICES
+/dev/rtheap  c  666  0  0  10  254  0  0  -
+/dev/rtscope c  666  0  0  10  253  0  0  -
+/dev/rtp     c  666  0  0  150 0    0  1  32
+endef
+
 ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
 XENOMAI_DEPENDENCIES += udev
 
index 71cd08349565dae3e3d2dfddc7974514f2122685..a3d53d460a9efa08716d1183c9a3c670f252c6fd 100644 (file)
 
 # I2C device nodes
 /dev/i2c-      c       666     0       0       89      0       0       1       4
-
-# Xenomai
-#/dev/rtheap     c       666     0       0       10      254     0       0       -
-#/dev/rtscope    c       666     0       0       10      253     0       0       -
-#/dev/rtp        c       666     0       0       150     0       0       1       32