summaryrefslogtreecommitdiff
path: root/packages/cramfs/cramfs-native_1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cramfs/cramfs-native_1.1.bb')
-rw-r--r--packages/cramfs/cramfs-native_1.1.bb19
1 files changed, 14 insertions, 5 deletions
diff --git a/packages/cramfs/cramfs-native_1.1.bb b/packages/cramfs/cramfs-native_1.1.bb
index 0f18e94be0..062a704ea5 100644
--- a/packages/cramfs/cramfs-native_1.1.bb
+++ b/packages/cramfs/cramfs-native_1.1.bb
@@ -1,6 +1,15 @@
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/cramfs"
+
+DESCRIPTION="Builds cramfs filesystems for embedded systems"
SECTION = "base"
-LICENSE = "GPL"
-SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz"
+LICENSE="GPL"
+
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz \
+ file://makefile.patch;patch=1 \
+ file://cramfs-andersee.patch;patch=1"
+
DEPENDS = "zlib-native"
S = "${WORKDIR}/cramfs-${PV}"
@@ -8,11 +17,11 @@ S = "${WORKDIR}/cramfs-${PV}"
inherit native
do_compile() {
- oe_runmake
+ oe_runmake all
}
do_stage() {
- install mkcramfs ${STAGING_BINDIR}
- install cramfsck ${STAGING_BINDIR}
+ install -m 755 mkcramfs ${STAGING_BINDIR}
+ install -m 755 cramfsck ${STAGING_BINDIR}
}