Merge
This commit is contained in:
commit
4e033ce5f2
@ -55,10 +55,13 @@ program_default_rule: all
|
||||
|
||||
program: $(ACTUAL_PROGRAM)
|
||||
|
||||
# reuse the mapfiles in the launcher's directory, the same should
|
||||
# be applicable to the tool launchers as well.
|
||||
FILES_m = $(BUILDDIR)/java/main/java/mapfile-$(ARCH)
|
||||
include $(BUILDDIR)/common/Mapfile-vers.gmk
|
||||
# Work-around for missing processor specific mapfiles
|
||||
ifndef CROSS_COMPILE_ARCH
|
||||
# reuse the mapfiles in the launcher's directory, the same should
|
||||
# be applicable to the tool launchers as well.
|
||||
FILES_m = $(BUILDDIR)/java/main/java/mapfile-$(ARCH)
|
||||
include $(BUILDDIR)/common/Mapfile-vers.gmk
|
||||
endif
|
||||
|
||||
include $(JDK_TOPDIR)/make/common/Rules.gmk
|
||||
|
||||
|
@ -109,6 +109,8 @@ FMT = $(UTILS_COMMAND_PATH)fmt
|
||||
GDB = $(UTILS_USR_BIN_PATH)gdb
|
||||
GREP = $(UTILS_COMMAND_PATH)grep
|
||||
GUNZIP = $(UTILS_COMMAND_PATH)gunzip
|
||||
# GZIP is used for solaris. Linux and windows use tar czf
|
||||
GZIP = $(UTILS_COMMAND_PATH)gzip
|
||||
HEAD = $(UTILS_USR_BIN_PATH)head
|
||||
HG = hg
|
||||
ID = $(UTILS_COMMAND_PATH)id
|
||||
|
@ -72,10 +72,6 @@ endif
|
||||
# REQUIRED_DXSDK_VER
|
||||
# Windows only: The version of DirectX SDK expected.
|
||||
#
|
||||
# REQUIRED_FREE_SPACE
|
||||
# The minimum disk space needed as determined by running 'du -sk' on a fully
|
||||
# built workspace.
|
||||
#
|
||||
# REQUIRED_FREETYPE_VERSION
|
||||
# If we are using freetype, the freetype version expected.
|
||||
#
|
||||
@ -131,11 +127,6 @@ ifeq ($(PLATFORM), solaris)
|
||||
REQUIRED_OS_VERSION = 5.10
|
||||
REQUIRED_OS_VARIANT_NAME = Solaris
|
||||
REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
|
||||
ifeq ($(ARCH_FAMILY), sparc)
|
||||
REQUIRED_FREE_SPACE = 1300000
|
||||
else
|
||||
REQUIRED_FREE_SPACE = 1040000
|
||||
endif
|
||||
REQUIRED_COMPILER_NAME = Sun Studio 12 Update 1
|
||||
REQUIRED_COMPILER_VERSION = SS12u1
|
||||
# Cross-compilation compiler versions are target specific
|
||||
@ -157,7 +148,6 @@ ifeq ($(PLATFORM), linux)
|
||||
REQUIRED_OS_VERSION = 2.6
|
||||
REQUIRED_OS_VARIANT_NAME = Fedora
|
||||
REQUIRED_OS_VARIANT_VERSION = 9
|
||||
REQUIRED_FREE_SPACE = 1460000
|
||||
REQUIRED_ALSA_VERSION = 0.9.1
|
||||
REQUIRED_COMPILER_NAME = GCC4
|
||||
REQUIRED_COMPILER_VERSION = GCC4
|
||||
@ -187,7 +177,6 @@ ifeq ($(PLATFORM), windows)
|
||||
REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
|
||||
REQUIRED_CYGWIN_VER = 4.0
|
||||
REQUIRED_MKS_VER = 6.1
|
||||
REQUIRED_FREE_SPACE = 500000
|
||||
REQUIRED_DXSDK_VER = 0x0900
|
||||
ifeq ($(CC_VERSION),msvc)
|
||||
REQUIRED_COMPILER_NAME = Visual Studio 10
|
||||
|
@ -192,8 +192,6 @@ endif
|
||||
ALL_SETTINGS+=$(call addRequiredVersionSetting,OS_VERSION)
|
||||
ALL_SETTINGS+=$(call addOptionalSetting,OS_VARIANT_NAME)
|
||||
ALL_SETTINGS+=$(call addOptionalSetting,OS_VARIANT_VERSION)
|
||||
ALL_SETTINGS+=$(call addRequiredSetting,TEMP_FREE_SPACE)
|
||||
ALL_SETTINGS+=$(call addRequiredSetting,FREE_SPACE)
|
||||
ALL_SETTINGS+=$(call addRequiredSetting,MB_OF_MEMORY)
|
||||
|
||||
|
||||
|
@ -69,8 +69,6 @@ endef
|
||||
# Settings and rules to validate the JDK build environment.
|
||||
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
FREE_SPACE := $(shell $(DF) -b $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$2;}')
|
||||
TEMP_FREE_SPACE := $(shell $(DF) -b $(TEMP_DISK) | $(TAIL) -1 | $(NAWK) '{print $$2;}')
|
||||
# What kind of system we are using (Variations are Solaris and OpenSolaris)
|
||||
OS_VERSION := $(shell uname -r)
|
||||
OS_VARIANT_NAME := $(strip $(shell head -1 /etc/release | awk '{print $$1;}') )
|
||||
@ -88,8 +86,6 @@ ifeq ($(PLATFORM), solaris)
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), linux)
|
||||
FREE_SPACE := $(shell $(DF) --sync -kP $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$4;}')
|
||||
TEMP_FREE_SPACE := $(shell $(DF) --sync -kP $(TEMP_DISK) | $(TAIL) -1 | $(NAWK) '{print $$4;}')
|
||||
# What kind of system we are using (Variation is the Linux vendor)
|
||||
OS_VERSION := $(shell uname -r)
|
||||
OS_VARIANT_NAME := $(shell \
|
||||
@ -118,8 +114,6 @@ ifeq ($(PLATFORM), linux)
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), windows)
|
||||
FREE_SPACE := $(shell $(DF) -kP $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$4;}')
|
||||
TEMP_FREE_SPACE := $(shell $(DF) -kP $(TEMP_DISK) | $(TAIL) -1 | $(NAWK) '{print $$4;}')
|
||||
# Windows 2000 is 5.0, Windows XP is 5.1, Windows 2003 is 5.2
|
||||
# Assume 5.0 (Windows 2000) if systeminfo does not help
|
||||
WINDOWS_MAPPING-5.0 := Windows2000
|
||||
@ -715,18 +709,6 @@ sane-outputdir:
|
||||
" Either obtain these permissions or set ALT_OUTPUTDIR. \n" \
|
||||
"" >> $(ERROR_FILE) ; \
|
||||
fi
|
||||
@#
|
||||
@# OUTPUTDIR must have enough free space...
|
||||
@#
|
||||
@if [ $(FREE_SPACE) -lt $(REQUIRED_FREE_SPACE) ]; then \
|
||||
$(ECHO) "WARNING: You may not have enough free space in your OUTPUTDIR. The \n" \
|
||||
" current value of OUTPUTDIR is \n" \
|
||||
" $(OUTPUTDIR) \n" \
|
||||
" You need "$(REQUIRED_FREE_SPACE)" Kbytes free on this device to build \n" \
|
||||
" and it appears that only "$(FREE_SPACE)" Kbytes are free. \n" \
|
||||
" Either obtain more space or set ALT_OUTPUTDIR to a larger disk. \n" \
|
||||
"" >> $(WARNING_FILE) ; \
|
||||
fi
|
||||
|
||||
######################################################
|
||||
# if specified, ALT_BOOTDIR must point to non-relative path if set
|
||||
|
Loading…
Reference in New Issue
Block a user