summaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils_1.2.0+git.bb
blob: 8ea5424d71ed7fe9340e6fa96f1c45c061c37a94 (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
require mtd-utils.inc

DEPENDS += "util-linux-ng"
PR = "r4"

ARM_INSTRUCTION_SET = "arm"

# This is the default package, thus we lock to a specific git version so 
# upstream changes will not break builds.

TAG = "ea429635388f7bb53f62c41ec3d5ccf5fa207370"

SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=${TAG} \
	   file://add-exclusion-to-mkfs-jffs2-git-2.patch;patch=1 \
	   file://fix-ignoreerrors-git.patch;patch=1 \
	   file://lzo_1x-git.patch;patch=1"

S = "${WORKDIR}/git/"

do_configure_prepend() {
	for i in $(find . -name "Makefile") ; do
		sed -i -e s:lzo2:lzo:g $i
	done
	if [ -e mkfs.ubifs/compr.c ]; then
		sed -i -e s:lzo/::g mkfs.ubifs/compr.c
	fi
}