Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clark Rawlins <clark.rawlins@escient.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] A package for the cdfs kernel module
Date: Sat, 09 Jan 2010 13:00:47 -0500	[thread overview]
Message-ID: <1263060047.18571.9.camel@venture> (raw)

A package to build the CDfs kernel module.
This (psudo) filesystem provides access to the
audio tracks on an audio CD as well as all the
sessions on a data cd as separate ISO files.  These
files can be mounted via the loopback device
to gain acess to all of the files on any session.

Signed-off-by: Clark Rawlins <clark.rawlins@escient.com>
---
 package/kernel-modules/cdfs/Config.in |    7 +++++++
 package/kernel-modules/cdfs/cdfs.mk   |   31 +++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 package/kernel-modules/cdfs/Config.in
 create mode 100644 package/kernel-modules/cdfs/cdfs.mk

diff --git a/package/kernel-modules/cdfs/Config.in b/package/kernel-modules/cdfs/Config.in
new file mode 100644
index 0000000..5321171
--- /dev/null
+++ b/package/kernel-modules/cdfs/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_CDFS
+	bool "cdfs"
+	depends on BR2_PACKAGE_LINUX
+	help
+	  The CDFS filesystem for Linux.
+
+	  http://users.elis.ugent.be/~mronsse/cdfs/
diff --git a/package/kernel-modules/cdfs/cdfs.mk b/package/kernel-modules/cdfs/cdfs.mk
new file mode 100644
index 0000000..5c01369
--- /dev/null
+++ b/package/kernel-modules/cdfs/cdfs.mk
@@ -0,0 +1,31 @@
+#############################################################
+#
+# cdfs
+#
+#############################################################
+CDFS_VERSION=2.6.27
+CDFS_SOURCE=cdfs-$(CDFS_VERSION).tar.bz2
+CDFS_SITE=http://users.elis.ugent.be/~mronsse/cdfs/download
+CDFS_LINUX_VERSION=$(strip $(subst ",,$(BR2_KERNEL_CURRENT_VERSION)))
+CDFS_KDIR=/lib/modules/$(CDFS_LINUX_VERSION)/kernel/fs/cdfs
+CDFS_BINARY=cdfs.ko
+CDFS_TARGET_BINARY=$(CDFS_KDIR)/$(CDFS_BINARY)
+CDFS_DEPENDENCIES=linux26
+
+define CDFS_BUILD_CMDS
+	$(MAKE) -C $(LINUX26_DIR) $(LINUX26_MAKE_FLAGS) SUBDIRS=$(@D) modules
+endef
+
+define CDFS_INSTALL_TARGET_CMDS
+	install -d $(TARGET_DIR)/$(CDFS_KDIR)
+	install $(@D)/$(CDFS_BINARY) $(TARGET_DIR)/$(CDFS_KDIR)
+	$(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod26 -a -b $(TARGET_DIR) -v $(CDFS_LINUX_VERSION)
+endef
+
+define CDFS_CLEAN_CMDS
+	-rmdir -rf $(TARGET_DIR)/$(CDFS_KDIR)
+	-rm -rf $(@D)/*.o
+	-rm -rf $(@D)/*.ko
+endef
+
+$(eval $(call GENTARGETS,package,cdfs))
-- 
1.6.3.3

             reply	other threads:[~2010-01-09 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 18:00 Clark Rawlins [this message]
2010-01-11 14:26 ` [Buildroot] [PATCH 2/2] A package for the cdfs kernel module Chris Packham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1263060047.18571.9.camel@venture \
    --to=clark.rawlins@escient.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox