summaryrefslogtreecommitdiff
path: root/recipes/dosfstools/dosfstools-native_2.10.bb
blob: c61e33d2e9b57aa11a09939f4cf4f3ad753d3d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# dosfstools-native OE build file
# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require dosfstools_${PV}.bb
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dosfstools-${PV}"

S="${WORKDIR}/dosfstools-${PV}"

PR ="r4"

SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \
	file://mkdosfs-bootcode.patch \
	file://mkdosfs-dir.patch \
	file://alignment_hack.patch \
	file://dosfstools-2.10-kernel-2.6.patch \
	file://msdos_fat12_undefined.patch \
	file://dosfstools-msdos_fs-types.patch \
	file://include-linux-types.patch \
	file://2.6.20-syscall.patch"

inherit native

do_stage() {
	install -m 755 ${S}/mkdosfs/mkdosfs ${STAGING_BINDIR}/mkdosfs
	install -m 755 ${S}/dosfsck/dosfsck ${STAGING_BINDIR}/dosfsck
}