|
Description
|
The top level Makefile needs a few adjustments (might need changes to jdk/make/common/Defs*gmk files too)
Two basic issues, left over empty directories for debug builds, and left over short paths on windows.
1. Change use of _OUTPUTDIR to OUTPUTDIR in Makefile for debug builds:
COMMON_DEBUG_FLAGS= \
DEBUG_NAME=$(DEBUG_NAME) \
ALT_OUTPUTDIR=$(_OUTPUTDIR)-$(DEBUG_NAME) \
NO_DOCS=true
should be:
COMMON_DEBUG_FLAGS= \
DEBUG_NAME=$(DEBUG_NAME) \
ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) \
NO_DOCS=true
2. Delete some mkdir lines in Makefile:
setup:
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
$(MKDIR) -p $(ABS_OUTPUTDIR)/j2sdk-image
$(MKDIR) -p $(OUTPUTDIR)-fastdebug/j2sdk-image
$(MKDIR) -p $(ABS_OUTPUTDIR)-fastdebug/j2sdk-image
should be just
setup:
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
$(MKDIR) -p $(ABS_OUTPUTDIR)/j2sdk-image
3. When defining _OUTPUTDIR (the default) on windows in the jdk/make/common/Defs* file, get the short path for TOPDIR but not the short path for outputdir which is unreliable.
4. When ALT_OUTPUTDIR is passed in, do NOT get the short path for it, check it for spaces giving an error if a path with spaces is provided as the destination output directory. This directory might not exist so might not have a short path.
Posted Date : 2008-01-11 18:28:58.0
|