Browse files

Entry point for ocamlbuild noboot version.

Is enabled by saying:

# make OCAMLBUILD_NOBOOT=yes world.opt

currently just works for bytecode only.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13189 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 7d969aa commit e5714dcd02f35708323927e811e80c0c41543b7a meyer committed Jan 1, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -727,9 +727,13 @@ camlp4opt: ocamlopt otherlibrariesopt ocamlbuild-mixed-boot ocamlbuild.native
./build/camlp4-native-only.sh
# Ocamlbuild
-
+ifeq ($(OCAMLBUILD_NOBOOT),"yes")
+ocamlbuild.byte: ocamlc
+ $(MAKE) -C ocamlbuild -f Makefile.noboot
+else
ocamlbuild.byte: ocamlc ocamlbuild-mixed-boot
./build/ocamlbuild-byte-only.sh
+endif
ocamlbuild.native: ocamlopt ocamlbuild-mixed-boot
./build/ocamlbuild-native-only.sh

0 comments on commit e5714dc

Please sign in to comment.