mirror of https://github.com/hak5/openwrt-owl.git
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
--- compcache-0.5/Makefile.bak 2008-12-10 07:25:44.000000000 +0100
|
|
+++ compcache-0.5/Makefile 2009-01-21 08:25:38.000000000 +0100
|
|
@@ -4,15 +4,13 @@
|
|
-DCONFIG_XV_STATS \
|
|
-g -Wall
|
|
|
|
-obj-m += sub-projects/compression/lzo-kmod/lzo1x_decompress.o \
|
|
- sub-projects/compression/lzo-kmod/lzo1x_compress.o \
|
|
+obj-m += sub-projects/compression/lzo-kmod/lzo1x.o \
|
|
sub-projects/allocators/xvmalloc-kmod/xvmalloc.o \
|
|
compcache.o
|
|
|
|
all:
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
- @ln -sf sub-projects/compression/lzo-kmod/lzo1x_decompress.ko
|
|
- @ln -sf sub-projects/compression/lzo-kmod/lzo1x_compress.ko
|
|
+ @ln -sf sub-projects/compression/lzo-kmod/lzo1x.ko
|
|
@ln -sf sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko
|
|
|
|
clean:
|
|
--- compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c~ 1970-01-01 01:00:00.000000000 +0100
|
|
+++ compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c 2008-05-06 09:38:12.000000000 +0200
|
|
@@ -0,0 +1,7 @@
|
|
+#include <linux/module.h>
|
|
+
|
|
+#include "lzo1x_compress.c"
|
|
+#include "lzo1x_decompress.c"
|
|
+
|
|
+MODULE_LICENSE("GPL");
|
|
+MODULE_DESCRIPTION("LZO1X Lib");
|