|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] 08: linux-2.4-modules.patch
===
Name: linux-2.4-modules.patch
Description: conditionally call modules targets for 2.4
There was a complaint on the mailing list about linux 2.6 not building
if module support was disabled; a patch was done to fix this. However,
the same change was not done to the 2.4 files.
DiffStat:
buildconfigs/mk.linux-2.4-xen0 | 6 ++++--
buildconfigs/mk.linux-2.4-xenU | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
===
Description: conditionally call modules targets for 2.4
There was a complaint on the mailing list about linux 2.6 not building
if module support was disabled; a patch was done to fix this. However,
the same change was not done to the 2.4 files.
--- xen-2.0.3.orig/buildconfigs/mk.linux-2.4-xen0
+++ xen-2.0.3/buildconfigs/mk.linux-2.4-xen0
@@ -13,8 +13,10 @@
# The real action starts here!
build: $(LINUX_DIR)/include/linux/autoconf.h
- $(MAKE) -C $(LINUX_DIR) ARCH=xen modules
- $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install
+ if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
+ $(MAKE) -C $(LINUX_DIR) ARCH=xen modules ; \
+ $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install ; \
+ fi
$(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(INSTALL_DIR) install
patches/tmp/ebtables.diff:
--- xen-2.0.3.orig/buildconfigs/mk.linux-2.4-xenU
+++ xen-2.0.3/buildconfigs/mk.linux-2.4-xenU
@@ -13,8 +13,10 @@
# The real action starts here!
build: $(LINUX_DIR)/include/linux/autoconf.h
- $(MAKE) -C $(LINUX_DIR) ARCH=xen modules
- $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install
+ if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
+ $(MAKE) -C $(LINUX_DIR) ARCH=xen modules ; \
+ $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install ; \
+ fi
$(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(INSTALL_DIR) install
$(LINUX_DIR)/include/linux/autoconf.h: pristine-linux-$(LINUX_VER)
===
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] 08: linux-2.4-modules.patch,
Adam Heath <=
|
|
|
|
|