_BOOTDIR1 on MS Windows platform
Anthony Petrov
Anthony.Petrov at Sun.COM
Wed Apr 22 14:53:47 UTC 2009
Hello,
Back in 2007 we already discussed this issue with Kelly, but
transitioning to Mercurial just stopped the work. So, I would like to
revive this now.
Here's a part of the output generated by `grep -r BOOTDIR make/*`:
> make/common/shared/Defs-solaris.gmk: _BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH)
> make/common/shared/Defs-solaris.gmk: _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION)
> make/common/shared/Defs-windows.gmk: _BOOTDIR1 =$(_system_drive)/jdk$(PREVIOUS_JDK_VERSION)
> make/common/shared/Defs-windows.gmk: _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION)
> make/common/shared/Defs-linux.gmk: _BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH)
> make/common/shared/Defs-linux.gmk: _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION)
One can notice that the _BOOTDIR1 is defined differently on MS Windows
platform. I would like to propose a change so that its value would be
the same as on other platforms. The SLASH_JAVA on MS Windows equals to
the J: drive. So one could setup the same directory tree as on
Linux/Solaris, use the subst command to make the directory the J: drive,
and be able to build the jdk w/o specifying the ALT_BOOTDIR variable
manually.
Is there any objection to removing the
$(_system_drive)/jdk$(PREVIOUS_JDK_VERSION) default path?
--
best regards,
Anthony
More information about the build-dev
mailing list