summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-06-19 13:46:17 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-19 13:46:17 +0000
commitf74a20456aadd77744203bcdb4a312795d052f50 (patch)
tree7ba69080ae738e1cfe3ffa002ca79b2c1c01c1cd
parent85658bb0515e09d568443a6b2abcd73b86c39313 (diff)
cramfs: sync with cramfs-native to get new features and fixed building
- cramfs got patches from cramfs-native - device_table.txt support - fixed linking with zlib
-rw-r--r--packages/cramfs/cramfs/makefile.patch8
-rw-r--r--packages/cramfs/cramfs_1.1.bb6
2 files changed, 10 insertions, 4 deletions
diff --git a/packages/cramfs/cramfs/makefile.patch b/packages/cramfs/cramfs/makefile.patch
index b809170eb4..07bfedb8cf 100644
--- a/packages/cramfs/cramfs/makefile.patch
+++ b/packages/cramfs/cramfs/makefile.patch
@@ -2,13 +2,15 @@ Jordan Crouse (AMD)
08/20/04 - Fix for kernels with less then modern cramfs implementations
RH9, I'm looking at you.
---- cramfs-1.1/GNUmakefile 2002-02-22 17:52:41.000000000 -0700
-+++ cramfs-1.1.new/GNUmakefile 2004-08-20 16:35:31.844289504 -0700
+Index: cramfs-1.1/GNUmakefile
+===================================================================
+--- cramfs-1.1.orig/GNUmakefile 2002-02-23 01:52:41.000000000 +0100
++++ cramfs-1.1/GNUmakefile 2006-06-19 15:39:38.756086200 +0200
@@ -1,6 +1,7 @@
CC = gcc
CFLAGS = -W -Wall -O2 -g
-CPPFLAGS = -I.
-+LFLAGS=-I.
++LFLAGS=-I. $(LDFLAGS)
+
LDLIBS = -lz
PROGS = mkcramfs cramfsck
diff --git a/packages/cramfs/cramfs_1.1.bb b/packages/cramfs/cramfs_1.1.bb
index efdf288aca..b4a8955ab7 100644
--- a/packages/cramfs/cramfs_1.1.bb
+++ b/packages/cramfs/cramfs_1.1.bb
@@ -1,8 +1,12 @@
+DESCRIPTION="Builds cramfs filesystems for embedded systems"
SECTION = "base"
-SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz"
LICENSE = "GPLv2"
DEPENDS = "zlib"
+SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz \
+ file://makefile.patch;patch=1 \
+ file://cramfs-andersee.patch;patch=1"
+
do_compile() {
oe_runmake
}