diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-04 13:13:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-11 12:36:07 +0200 |
commit | 30be97aff25f618f3925d1733a39996d50fc2213 (patch) | |
tree | 58eae347941d2bc1197a374668c77cd0bf43d0f4 /fs/Makefile | |
parent | f1bb89fd9e5c6f3527ebaafcf57346fec19e4d5f (diff) | |
download | barebox-30be97aff25f618f3925d1733a39996d50fc2213.tar.gz barebox-30be97aff25f618f3925d1733a39996d50fc2213.tar.xz |
devfs: factor out core devfs functionality
This makes it possible to compile without devfs. devfs_create/devfs_remove
is used by drivers and thus must still be present even without devfs support.
Also, this patch adds cdev_open/cdev_close/cdev_flush/cdev_ioctl calls to
work with devices without using the file api.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/Makefile')
-rw-r--r-- | fs/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile index 228af6eb2d..4aa92ef0d6 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -1,4 +1,5 @@ obj-$(CONFIG_FS_CRAMFS) += cramfs/ obj-$(CONFIG_FS_RAMFS) += ramfs.o +obj-y += devfs-core.o obj-$(CONFIG_FS_DEVFS) += devfs.o obj-y += fs.o |