From: "Ming Chow 周明" <chow.ming@linuxbj.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: patch for compcache recipe
Date: Thu, 20 Aug 2009 00:32:20 +0800 [thread overview]
Message-ID: <4A8C2914.8090604@linuxbj.com> (raw)
In-Reply-To: <h63vae$ktr$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
Hi,
Thanks for your kind information.
I have changed the package version to 0.5+0.6pre3 following the policy
guideline Rolf showed to me.
Koen Kooi wrote:
> On 14-08-09 17:05, Ming Chow 周明 wrote:
>> Signed-off-by: Zhou Ming <chow.ming@linuxbj.com>
>>
>> I have renewed the patch looks like:
>>
>> - added the checksum entry
>> - use kernel-module-compcache as the package name which results throwing
>> out packages like
>> "kernel-module-compcache_0.6pre3-r41.3_beagleboard.ipk"
>> - use compcache-utils as the tool package name which looks like
>> "compcache-utils_0.6pre3-r41.3_beagleboard.ipk"
>
> NAK, 0.6pre3 violated the OE versioning policy, you want something
> like 0.5+0.6pre3
>
> regards,
>
> Koen
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: patch-compcache-0.5+0.6pre3.diff --]
[-- Type: text/x-patch, Size: 3564 bytes --]
diff --git a/conf/checksums.ini b/conf/checksums.ini
index bc214eb..2fc1abb 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -28578,3 +28578,7 @@ sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
md5=5f7b88ebb2bcd7e8044328482d079661
sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af
+[http://compcache.googlecode.com/files/compcache-0.6pre3.tar.gz]
+md5=532fbc4e6a8ae0670ec15a49484f313f
+sha256=3e54f26665bd1b7ece4e4621a15f82da66a95bafd04286d447be5a596790a7db
+
diff --git a/recipes/compcache/compcache/000-compcache-KERNELDIR.patch b/recipes/compcache/compcache/000-compcache-KERNELDIR.patch
new file mode 100644
index 0000000..e80f75b
--- /dev/null
+++ b/recipes/compcache/compcache/000-compcache-KERNELDIR.patch
@@ -0,0 +1,34 @@
+--- compcache-0.6pre3/Makefile.orig 2009-08-14 00:25:45.904934007 +0800
++++ compcache-0.6pre3/Makefile 2009-08-14 00:25:58.404938574 +0800
+@@ -1,17 +1,17 @@
+ EXTRA_CFLAGS := -DCONFIG_BLK_DEV_RAMZSWAP_STATS \
+ -g -Wall
+
+-ifndef $(KERNEL_BUILD_PATH)
+- KERNEL_BUILD_PATH="/lib/modules/$(shell uname -r)/build"
++ifndef $(KERNELDIR)
++ KERNELDIR="/lib/modules/$(shell uname -r)/build"
+ endif
+
+ obj-m += sub-projects/allocators/xvmalloc-kmod/xvmalloc.o \
+ ramzswap.o
+
+ all:
+- make -C $(KERNEL_BUILD_PATH) \
++ make -C $(KERNELDIR) \
+ M=$(PWD)/sub-projects/allocators/xvmalloc-kmod modules
+- make -C $(KERNEL_BUILD_PATH) M=$(PWD) modules
++ make -C $(KERNELDIR) M=$(PWD) modules
+ make -C sub-projects/rzscontrol
+ @ln -sf sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko
+
+@@ -19,7 +19,7 @@
+ make -C sub-projects/rzscontrol doc
+
+ clean:
+- make -C $(KERNEL_BUILD_PATH) M=$(PWD) clean
+- make -C $(KERNEL_BUILD_PATH) M=$(PWD)/sub-projects/allocators/xvmalloc-kmod clean
++ make -C $(KERNELDIR) M=$(PWD) clean
++ make -C $(KERNELDIR) M=$(PWD)/sub-projects/allocators/xvmalloc-kmod clean
+ make -C sub-projects/rzscontrol clean
+ @rm -rf *.ko
diff --git a/recipes/compcache/compcache/001-compcache-rzscontrol-cross-compile.patch b/recipes/compcache/compcache/001-compcache-rzscontrol-cross-compile.patch
new file mode 100644
index 0000000..8dbb590
--- /dev/null
+++ b/recipes/compcache/compcache/001-compcache-rzscontrol-cross-compile.patch
@@ -0,0 +1,9 @@
+--- compcache-0.6pre3.orig/sub-projects/rzscontrol/Makefile 2009-08-06 23:27:40.000000000 +0800
++++ compcache-0.6pre3/sub-projects/rzscontrol/Makefile 2009-08-14 00:19:38.374938229 +0800
+@@ -1,5 +1,5 @@
+ all:
+- @gcc -g -Wall -D_GNU_SOURCE rzscontrol.c -o rzscontrol -I ../include -I../..
++ ${CCLD} -g -Wall -D_GNU_SOURCE rzscontrol.c -o rzscontrol -I ../include -I../..
+
+ doc:
+ @xmllint --noout --valid man/rzscontrol.xml
diff --git a/recipes/compcache/compcache/002-compcache-modules-install.patch b/recipes/compcache/compcache/002-compcache-modules-install.patch
new file mode 100644
index 0000000..cf9b9b1
--- /dev/null
+++ b/recipes/compcache/compcache/002-compcache-modules-install.patch
@@ -0,0 +1,13 @@
+--- compcache-0.6pre3/Makefile.orig 2009-08-14 02:33:45.169249060 +0800
++++ compcache-0.6pre3/Makefile 2009-08-14 02:34:15.594938335 +0800
+@@ -13,7 +13,9 @@
+ M=$(PWD)/sub-projects/allocators/xvmalloc-kmod modules
+ make -C $(KERNELDIR) M=$(PWD) modules
+ make -C sub-projects/rzscontrol
+- @ln -sf sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko
++
++modules_install:
++ make -C $(KERNELDIR) M=$(PWD) modules_install
+
+ doc:
+ make -C sub-projects/rzscontrol doc
next prev parent reply other threads:[~2009-08-19 16:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 19:10 patch for compcache recipe Ming Chow 周明
2009-08-14 2:06 ` Holger Hans Peter Freyther
2009-08-14 6:29 ` Ming Chow 周明
2009-08-14 14:39 ` Rolf Leggewie
2009-08-14 14:55 ` Ming Chow 周明
2009-08-14 15:05 ` Ming Chow 周明
2009-08-14 15:19 ` Koen Kooi
2009-08-14 15:33 ` Rolf Leggewie
2009-08-19 16:32 ` Ming Chow 周明 [this message]
2009-08-19 16:50 ` Koen Kooi
2009-08-20 1:36 ` Ming Chow 周明
2009-08-20 2:09 ` Holger Hans Peter Freyther
2009-08-20 17:20 ` Ming Chow 周明
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A8C2914.8090604@linuxbj.com \
--to=chow.ming@linuxbj.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.