The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / genromfs / 0001-build-system.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/genromfs/0001-build-system.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/genromfs/0001-build-system.patch
new file mode 100644 (file)
index 0000000..827fe75
--- /dev/null
@@ -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