diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-01-11 18:53:40 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-01 23:05:18 +0100 |
commit | df8fa1712c06d748a6ae99b1084e480b68dd4bc1 (patch) | |
tree | 25b81019e9f973573852d42d82fa1140bd535ddb | |
parent | c7746857d102e69e54202763eeb785a45755845d (diff) | |
download | buildroot-novena-df8fa1712c06d748a6ae99b1084e480b68dd4bc1.tar.gz buildroot-novena-df8fa1712c06d748a6ae99b1084e480b68dd4bc1.zip |
Migrate Xenomai to the new infrastructure
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>
-rw-r--r-- | package/xenomai/xenomai.mk | 8 | ||||
-rw-r--r-- | target/generic/device_table_dev.txt | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index b1a492f13..72100f0f9 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -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 diff --git a/target/generic/device_table_dev.txt b/target/generic/device_table_dev.txt index 71cd08349..a3d53d460 100644 --- a/target/generic/device_table_dev.txt +++ b/target/generic/device_table_dev.txt @@ -141,8 +141,3 @@ # 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 |