cramfs: sync with cramfs-native to get new features and fixed building
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 19 Jun 2006 13:46:17 +0000 (13:46 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 19 Jun 2006 13:46:17 +0000 (13:46 +0000)
- cramfs got patches from cramfs-native
  - device_table.txt support
- fixed linking with zlib

packages/cramfs/cramfs/makefile.patch
packages/cramfs/cramfs_1.1.bb

index b809170..07bfedb 100644 (file)
@@ -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
index efdf288..b4a8955 100644 (file)
@@ -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
 }