# HG changeset patch # User Andrew John Hughes # Date 1229537037 0 # Node ID 4f248bc51029ec83c90951b9bb2a690ce514645e # Parent 30c77d225ff70a4682ce96755c20efee17b17cf7 2008-12-09 Andrew John Hughes * Makefile.am: Remove the HotSpot directory while extracting OpenJDK and then only when HSBUILD is not original. diff -r 30c77d225ff7 -r 4f248bc51029 ChangeLog --- a/ChangeLog Wed Dec 17 12:02:26 2008 -0500 +++ b/ChangeLog Wed Dec 17 18:03:57 2008 +0000 @@ -1,3 +1,9 @@ +2008-12-09 Andrew John Hughes + + * Makefile.am: + Remove the HotSpot directory while extracting + OpenJDK and then only when HSBUILD is not original. + 2008-12-17 Gary Benson * contrib/mixtec-hacks.patch: Updated. diff -r 30c77d225ff7 -r 4f248bc51029 Makefile.am --- a/Makefile.am Wed Dec 17 12:02:26 2008 -0500 +++ b/Makefile.am Wed Dec 17 18:03:57 2008 +0000 @@ -687,15 +687,20 @@ mkdir openjdk ; \ $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \ chmod -R ug+w openjdk ; \ + if test "x${HSBUILD}" != "xoriginal"; then \ + rm -rf openjdk/hotspot ; \ + fi ; \ sh $(abs_top_srcdir)/fsg.sh ; \ fi if WITH_ALT_HSBUILD if test -e ${HOTSPOT_SRC_ZIP} ; \ then \ - rm -rf openjdk/hotspot ; \ - $(TAR) xf $(HOTSPOT_SRC_ZIP) ; \ - chmod -R ug+w hotspot-* ; \ - mv hotspot-$$(cat $(abs_top_srcdir)/hotspot.map|grep $(HSBUILD)|cut -f2) openjdk/hotspot ; \ + if ! test -d openjdk/hotspot ; \ + then \ + $(TAR) xf $(HOTSPOT_SRC_ZIP) ; \ + chmod -R ug+w hotspot-* ; \ + mv hotspot-$$(cat $(abs_top_srcdir)/hotspot.map|grep $(HSBUILD)|cut -f2) openjdk/hotspot ; \ + fi ; \ fi endif endif