Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added module linkage support
Jack Lange [Thu, 6 May 2010 00:39:23 +0000 (19:39 -0500)]
modules/Makefile

index bf3f9f6..97ef14c 100644 (file)
@@ -1 +1,21 @@
-obj-y += null.c
+# Any .o files dropped in here will be linked into the kernel.
+# This is a primitive way to allow external builds of complex
+# code, such as Infiniband or Linux compatability libraries.
+
+# Get all the .o files except for built-in.o
+object_files:=$(subst $(obj)/built-in.o,,$(wildcard $(obj)/*.vo))
+#lib_files:=$(subst $(obj)/lib.a,,$(wildcard $(obj)/*.a))
+
+# Strip the object file directory name
+obj-y := $(notdir $(object_files)) null.o
+#lib-y := $(notdir $(lib_files))
+
+# Override the rules to build the modules that are linked in
+# to avoid trying to build them.  The message should never
+# be printed.
+#$(object_files) $(lib_files): FORCE
+$(object_files): FORCE
+       @echo >&2 "  MOD     $@"
+
+FORCE:
+