common/autoconf/bootcycle-spec.gmk.in

Sun, 30 Dec 2012 12:15:02 +0100

author
erikj
date
Sun, 30 Dec 2012 12:15:02 +0100
changeset 560
2d9bb72b4e34
parent 478
2ba6f4da4bf3
child 668
52d1b385a4ed
permissions
-rw-r--r--

8004490: build-infra: mac: hotspot is always built in product, regardless of --with-debug-level setting
Reviewed-by: tbell

ohair@478 1 #
ohair@478 2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@478 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@478 4 #
ohair@478 5 # This code is free software; you can redistribute it and/or modify it
ohair@478 6 # under the terms of the GNU General Public License version 2 only, as
ohair@478 7 # published by the Free Software Foundation. Oracle designates this
ohair@478 8 # particular file as subject to the "Classpath" exception as provided
ohair@478 9 # by Oracle in the LICENSE file that accompanied this code.
ohair@478 10 #
ohair@478 11 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@478 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@478 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@478 14 # version 2 for more details (a copy is included in the LICENSE file that
ohair@478 15 # accompanied this code).
ohair@478 16 #
ohair@478 17 # You should have received a copy of the GNU General Public License version
ohair@478 18 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@478 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@478 20 #
ohair@478 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@478 22 # or visit www.oracle.com if you need additional information or have any
ohair@478 23 # questions.
ohair@478 24 #
ohair@478 25
ohair@478 26 # Support for building boot cycle builds
ohair@478 27
ohair@478 28 # First include the real base spec.gmk file
ohair@478 29 include @SPEC@
ohair@478 30
ohair@478 31 # Check that the user did not try to specify a different java to use for compiling.
ohair@478 32 ifneq ($(firstword $(SJAVAC_SERVER_JAVA)),$(firstword $(JAVA)))
ohair@478 33 $(error Bootcycle builds are not possible if --with-sjavac-server-java is specified)
ohair@478 34 endif
ohair@478 35
ohair@478 36 # Override specific values to do a boot cycle build
ohair@478 37
ohair@478 38 # The bootcycle build has a different output directory
ohair@478 39 BUILD_OUTPUT:=@BUILD_OUTPUT@/bootcycle-build
ohair@478 40
ohair@478 41 # Use a different Boot JDK
ohair@478 42 BOOT_JDK:=@BUILD_OUTPUT@/images/j2sdk-image
ohair@478 43 BOOT_RTJAR:=@BUILD_OUTPUT@/images/j2sdk-image/jre/lib/rt.jar

mercurial