summaryrefslogtreecommitdiffstats
path: root/package/genromfs/genromfs-0.5.2-build-system.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-01 23:56:37 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-09 11:03:54 +0200
commit0fe8279abf852dedfdfcbe8db6384056a125a8f5 (patch)
treebb24eca9ccb1f33b521049edf6ece33e0fe87577 /package/genromfs/genromfs-0.5.2-build-system.patch
parent6cbdb507c37124d06bdac6a82c81aa5c16e164f9 (diff)
downloadbuildroot-novena-0fe8279abf852dedfdfcbe8db6384056a125a8f5.tar.gz
buildroot-novena-0fe8279abf852dedfdfcbe8db6384056a125a8f5.zip
genromfs: add new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/genromfs/genromfs-0.5.2-build-system.patch')
-rw-r--r--package/genromfs/genromfs-0.5.2-build-system.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/genromfs/genromfs-0.5.2-build-system.patch b/package/genromfs/genromfs-0.5.2-build-system.patch
new file mode 100644
index 000000000..827fe75bd
--- /dev/null
+++ b/package/genromfs/genromfs-0.5.2-build-system.patch
@@ -0,0 +1,26 @@
+---
+ Makefile | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+Index: genromfs-0.5.2/Makefile
+===================================================================
+--- genromfs-0.5.2.orig/Makefile
++++ genromfs-0.5.2/Makefile
+@@ -6,8 +6,6 @@
+ PACKAGE = genromfs
+ VERSION = 0.5.2
+ CC = gcc
+-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g#
+-LDFLAGS = -s#-g
+
+ DISTDIR = $(PACKAGE)-$(VERSION)
+
+@@ -24,7 +22,7 @@
+ $(CC) $(LDFLAGS) genromfs.o -o genromfs
+
+ .c.o:
+- $(CC) $(CFLAGS) $< -c -o $@
++ $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" $< -c -o $@
+
+ clean:
+ rm -f genromfs *.o