[oe-commits] : linux-dm800{,0}: add cdfs

OE GIT Trial gittrial at amethyst.openembedded.net
Thu Sep 18 15:21:48 UTC 2008


Module: OE.dev
Branch: org.openembedded.dreambox
Commit: ef5be99208dadb2fa3a90e8fbc1a0b9b389bdc3d
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=ef5be99208dadb2fa3a90e8fbc1a0b9b389bdc3d

Author:  <tmbinc at openembedded.org>
Date:   Thu Sep 18 12:54:56 2008 +0000

linux-dm800{,0}: add cdfs

---

 packages/linux/linux-dm800.bb                |    7 ++++++-
 packages/linux/linux-dm800/dm800_defconfig   |    1 +
 packages/linux/linux-dm8000.bb               |    7 ++++++-
 packages/linux/linux-dm8000/dm8000_defconfig |    1 +
 4 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/packages/linux/linux-dm800.bb b/packages/linux/linux-dm800.bb
index 1b07a88..bbc568d 100644
--- a/packages/linux/linux-dm800.bb
+++ b/packages/linux/linux-dm800.bb
@@ -27,7 +27,8 @@ SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
 	file://linuxmips-2.6.12-fix-fadvise.patch;patch=1;pnum=1 \
 	file://linuxmips-2.6.12-fix-futex.patch;patch=1;pnum=1 \
 	file://linuxmips-2.6.12-gcc4-compile-fix.patch;patch=1;pnum=1 \
-	file://linuxmips-2.6.12-gdb-fix.patch;patch=1;pnum=1"
+	file://linuxmips-2.6.12-gdb-fix.patch;patch=1;pnum=1 \
+	http://trappist.elis.ugent.be/~mronsse/cdfs/download/cdfs-2.6.12.tar.bz2"
 
 S = "${WORKDIR}/stblinux-2.6.12"
 
@@ -51,6 +52,10 @@ addtask munge before do_patch after do_unpack
 
 do_configure_prepend() {
 	oe_machinstall -m 0644 ${WORKDIR}/dm800_defconfig ${S}/.config
+        if [ -d ${WORKDIR}/cdfs-${PV} ]; then
+                mv ${WORKDIR}/cdfs-${PV} ${S}/fs/cdfs
+                cd ${S} & patch -p0 < ${S}/fs/cdfs/patch.cdfs
+        fi;
 	oe_runmake oldconfig
 }
 
diff --git a/packages/linux/linux-dm800/dm800_defconfig b/packages/linux/linux-dm800/dm800_defconfig
index b916d2f..df5ca6d 100644
--- a/packages/linux/linux-dm800/dm800_defconfig
+++ b/packages/linux/linux-dm800/dm800_defconfig
@@ -1543,6 +1543,7 @@ CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
 CONFIG_UDF_FS=m
 CONFIG_UDF_NLS=y
+CONFIG_CDFS_FS=m
 
 #
 # DOS/FAT/NT Filesystems
diff --git a/packages/linux/linux-dm8000.bb b/packages/linux/linux-dm8000.bb
index eab1960..f48f22d 100644
--- a/packages/linux/linux-dm8000.bb
+++ b/packages/linux/linux-dm8000.bb
@@ -28,7 +28,8 @@ SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
 	file://linuxmips-2.6.12-fix-futex.patch;patch=1;pnum=1 \
 	file://linuxmips-2.6.12-gcc4-compile-fix.patch;patch=1;pnum=1 \
 	file://linuxmips-2.6.12-gdb-fix.patch;patch=1;pnum=1 \
-	file://linux-2.6.12-brcm-fix-minipci.patch;patch=1;pnum=1"
+	file://linux-2.6.12-brcm-fix-minipci.patch;patch=1;pnum=1 \
+	http://trappist.elis.ugent.be/~mronsse/cdfs/download/cdfs-2.6.12.tar.bz2"
 
 S = "${WORKDIR}/stblinux-2.6.12"
 
@@ -52,6 +53,10 @@ addtask munge before do_patch after do_unpack
 
 do_configure_prepend() {
 	oe_machinstall -m 0644 ${WORKDIR}/dm8000_defconfig ${S}/.config
+	if [ -d ${WORKDIR}/cdfs-${PV} ]; then
+		mv ${WORKDIR}/cdfs-${PV} ${S}/fs/cdfs
+		cd ${S} & patch -p0 < ${S}/fs/cdfs/patch.cdfs
+	fi;
 	oe_runmake oldconfig
 }
 
diff --git a/packages/linux/linux-dm8000/dm8000_defconfig b/packages/linux/linux-dm8000/dm8000_defconfig
index f8ee5d3..73ab2d9 100644
--- a/packages/linux/linux-dm8000/dm8000_defconfig
+++ b/packages/linux/linux-dm8000/dm8000_defconfig
@@ -1546,6 +1546,7 @@ CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
 CONFIG_UDF_FS=m
 CONFIG_UDF_NLS=y
+CONFIG_CDFS_FS=m
 
 #
 # DOS/FAT/NT Filesystems





More information about the Openembedded-commits mailing list