aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/caml
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-06-17 09:36:25 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-06-17 09:36:25 +0100
commitdbd56b5c30b26127b97504cbd560bf9460a04d26 (patch)
tree20a4d4167e3f7640a41e08b05ec33c11ed5f895b /stubdom/caml
parent96d736511395573403068ba54b594c49009ddd3a (diff)
downloadxen-dbd56b5c30b26127b97504cbd560bf9460a04d26.tar.gz
xen-dbd56b5c30b26127b97504cbd560bf9460a04d26.tar.bz2
xen-dbd56b5c30b26127b97504cbd560bf9460a04d26.zip
minios,stubdom: Add OBJ_DIR parameter to compile outside sources,
which permits to easily compile mini-os in various flavors. Also clean some parts of stubdom build. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'stubdom/caml')
-rw-r--r--stubdom/caml/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/stubdom/caml/Makefile b/stubdom/caml/Makefile
index 8642240cef..d760fe4ee5 100644
--- a/stubdom/caml/Makefile
+++ b/stubdom/caml/Makefile
@@ -11,10 +11,7 @@ OCAMLOPT=ocamlopt
OBJS := hello.cmx
LIBS :=
-all: main-c.o main-caml.o caml.o
-
-main-c.c:
- ln -sf $(XEN_ROOT)/extras/mini-os/main.c $@
+all: main-caml.o caml.o
%.cmx: %.ml
$(OCAMLFIND) $(OCAMLOPT) -c $< -o $@