summaryrefslogtreecommitdiff
path: root/packages/dosfstools/dosfstools-native_2.10.bb
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-04-18 01:27:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-18 01:27:03 +0000
commit49fca2d04df1029b9d5db30691ea670ae2db4d2c (patch)
tree51dcfe957b227f744dd2b6efc620479dea2f48ba /packages/dosfstools/dosfstools-native_2.10.bb
parentd6912a787bfc8392a54778ca65290c356ce22e58 (diff)
dosfstools: Compile fixes. Add functionality for creating MSDOS image
files from OE.
Diffstat (limited to 'packages/dosfstools/dosfstools-native_2.10.bb')
-rw-r--r--packages/dosfstools/dosfstools-native_2.10.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/dosfstools/dosfstools-native_2.10.bb b/packages/dosfstools/dosfstools-native_2.10.bb
new file mode 100644
index 0000000000..78dde3e5e3
--- /dev/null
+++ b/packages/dosfstools/dosfstools-native_2.10.bb
@@ -0,0 +1,25 @@
+# dosfstools-native OE build file
+# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+include dosfstools_${PV}.bb
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dosfstools-${PV}"
+
+S="${WORKDIR}/dosfstools-${PV}"
+
+PR="r2"
+
+SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \
+ file://mkdosfs-bootcode.patch;patch=1 \
+ file://mkdosfs-dir.patch;patch=1 \
+ file://alignment_hack.patch;patch=1 \
+ file://dosfstools-2.10-kernel-2.6.patch;patch=1 \
+ file://msdos_fat12_undefined.patch;patch=1 \
+ file://dosfstools-msdos_fs-types.patch;patch=1"
+
+inherit native
+
+do_stage() {
+ install -m 755 ${S}/mkdosfs/mkdosfs ${STAGING_BINDIR}/mkdosfs
+ install -m 755 ${S}/dosfsck/dosfsck ${STAGING_BINDIR}/dosfsck
+}