aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
blob: d9b6c0638e7ed719ba9f7b45bb2a22235e1cb57f (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
28
29
30
DESCRIPTION = "Builds cramfs filesystems for embedded systems"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb07e0038a4"
DEPENDS = "zlib"
SRCDATE = "20110110"
PV = "1.1+cvs${SRCDATE}"
PR = "r1"

SRC_URI = "cvs://anonymous@cramfs.cvs.sourceforge.net/cvsroot/cramfs;module=linux"
S = "${WORKDIR}/linux/scripts/cramfs"

EXTRA_OEMAKE = "\
    'CC=${CC}' \
    'CFLAGS=${CFLAGS}' \
    'LDFLAGS=${LDFLAGS}' \
"


do_compile_prepend() {
        ln -sf GNUmakefile Makefile
}

do_install() {
	install -d ${D}${bindir}
	install mkcramfs ${D}${bindir}
	install cramfsck ${D}${bindir}
}

BBCLASSEXTEND = "native"