summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-05-31 22:04:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 22:04:50 +0000
commit3f2ebfd7412b7c45635a5c28ee25fb1db7bb6ec2 (patch)
tree2956bcaaa45d991de6770ee2008b5e3934485c5b
parent9352e538bb1842201e4bfe0d0e0c1804f0bbe995 (diff)
cramfs - cramfs-andersee.patch and makefile.patch for cramfs-native.
-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}
}