summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2013-01-01 00:33:28 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2013-01-01 00:33:28 +0000
commita6774cae34884008b6bdb5b76c6fdcc265ce7c00 (patch)
treebb47f1feee1eb42cf51c526c656aa37d430c6570
parent2a415d5ec0d85d6b475ce4c72b64954b4f60fb25 (diff)
downloadocaml-a6774cae34884008b6bdb5b76c6fdcc265ce7c00.tar.gz
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
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 764d8087c8..ccc3de8c50 100644
--- a/Makefile
+++ b/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