smilenet / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
0 stars 0 forks source link

加入 只編譯內核模組 及 只編譯非內核模組 的選項。 #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
您好

請問可不可以加入以下兩個 ./configure 的選項:

--only-kernel-module

--only-non-kernel-module

我請求的目的是,根據相關 RPM 
打包指引,我必須把會受內核版本影響的內核模組抽出,
成為 west-chamber-kmod。

如是者,當有新的內核版本出來,系統有能力同時重編內核��
�組。

謝謝

Original issue reported on code.google.com by Caius.Chance on 17 Mar 2010 at 5:03

GoogleCodeExporter commented 9 years ago
I'll give a clean Makefile without autotools in future

Original comment by yingyingcui.scholarzhang@gmail.com on 17 Mar 2010 at 5:06

GoogleCodeExporter commented 9 years ago
Hi. I'm working on Debian packaging and it's almost done.
I think I can provide a workaround here. Actually it might not be a workaround 
because xtables in Debian are also using the same way.

Here it is:
After autogen.sh and configure.

        # Build the module
        $(MAKE) -C $(KSRC) M=$(CURDIR)/extensions XA_ABSTOPSRCDIR=$(CURDIR) KERNEL_DIR=$(KSRC) KVERS=$(KVERS) modules

        # Build the addons
        $(MAKE) -C extensions user-all-local

Hope this can help you.
Regards,
Paul

Original comment by grandpaul@gmail.com on 18 Jan 2011 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 2:42