Mercurial > hg > release > icedtea7-2.6
changeset 1994:59d99dcc0df1
Add missing creation of versioning.stamp, re-remove copy-source-files.
2009-10-02 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
Create versioning.stamp so target is
not continually rerun. Redo removal
of copy-source-files target which was
readded during the reorganisation.
Shift BOOTSTRAPPING conditional to top
with other conditionals.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Fri, 02 Oct 2009 19:32:23 +0100 |
parents | 43ad0275037d |
children | 34fd2f476040 |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 40 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Oct 02 16:29:27 2009 +0100 +++ b/ChangeLog Fri Oct 02 19:32:23 2009 +0100 @@ -1,4 +1,14 @@ -2009-10-01 Andrew John Hughes <ahughes@redhat.com> +2009-10-02 Andrew John Hughes <ahughes@redhat.com> + + * Makefile.am: + Create versioning.stamp so target is + not continually rerun. Redo removal + of copy-source-files target which was + readded during the reorganisation. + Shift BOOTSTRAPPING conditional to top + with other conditionals. + +2009-10-02 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: Fix alias renamed to 'native-boot' by
--- a/Makefile.am Fri Oct 02 16:29:27 2009 +0100 +++ b/Makefile.am Fri Oct 02 19:32:23 2009 +0100 @@ -192,6 +192,9 @@ PULSE_JAVA_CLASS_DIR = endif +# This should not depend on bootstrapping +# but on whether MEMORY_LIMIT is accepted +# as an argument to javac if BOOTSTRAPPING MEMORY_LIMIT = else @@ -206,6 +209,16 @@ ICEDTEA_DEBUG_BUILD_TARGET=debug_build endif +if BOOTSTRAPPING + BOOTSTRAP_DIRECTORY_STAMP = stamps/bootstrap-directory-stage2.stamp + ICEDTEA_HOME = $(abs_top_builddir)/bootstrap/icedtea + INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage1.stamp +else + BOOTSTRAP_DIRECTORY_STAMP = + ICEDTEA_HOME = $(SYSTEM_JDK_DIR) + INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage2.stamp +endif + # Patch list ICEDTEA_PATCHES = \ @@ -651,6 +664,8 @@ all-local: icedtea-stage2 +check-local: jtregcheck + distclean-local: clean-copy clean-jtreg clean-jtreg-reports clean-pulse-java rm -rf stamps rm -f rt-source-files.txt \ @@ -1051,6 +1066,7 @@ fi endif endif + mkdir -p stamps touch stamps/extract-cacao.stamp clean-extract-cacao: @@ -1088,6 +1104,7 @@ find $(abs_top_builddir)/generated -type f -exec chmod 640 '{}' ';' \ -o -type d -exec chmod 750 '{}' ';'; \ fi + mkdir -p stamps touch stamps/generated.stamp stamps/patch-fsg.stamp: stamps/generated.stamp @@ -1260,10 +1277,13 @@ fi ; \ sed -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \ openjdk/jdk/make/common/shared/Defs.gmk; + mkdir -p stamps + touch stamps/versioning.stamp stamps/overlay.stamp: stamps/versioning.stamp cp -r $(abs_top_srcdir)/overlays/openjdk/* openjdk/ - chmod -R ug+w openjdk + chmod -R ug+w openjdk + mkdir -p stamps touch stamps/overlay.stamp # OpenJDK boot Source Preparation Targets @@ -1408,16 +1428,6 @@ rm -f stamps/bootstrap-directory-stage2.stamp rm -rf bootstrap/icedtea -if BOOTSTRAPPING - BOOTSTRAP_DIRECTORY_STAMP = stamps/bootstrap-directory-stage2.stamp - ICEDTEA_HOME = $(abs_top_builddir)/bootstrap/icedtea - INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage1.stamp -else - BOOTSTRAP_DIRECTORY_STAMP = - ICEDTEA_HOME = $(SYSTEM_JDK_DIR) - INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage2.stamp -endif - # stage 1 symlink. stamps/bootstrap-directory-symlink-stage1.stamp: stamps/bootstrap-directory-stage1.stamp rm -f bootstrap/jdk1.6.0 @@ -1757,7 +1767,7 @@ -sourcepath $(abs_top_srcdir)/netx:$(SOURCEPATH_DIRS): \ -bootclasspath \'\' \ @netx-source-files.txt ; - mkdir -p $(abs_top_builddir)/stamps + mkdir -p stamps touch stamps/netx.stamp stamps/netx-dist.stamp: stamps/netx.stamp @@ -2023,6 +2033,7 @@ DISTRIBUTION_PATCHES='$(foreach p,$(DISTRIBUTION_PATCHES),$(if $(findstring cacao,$(p)),,$(p)))' stamps/add-zero.stamp: stamps/icedtea.stamp + mkdir -p stamps if ADD_ZERO_BUILD mkdir -p zerovm @@ -2043,6 +2054,7 @@ touch $@ stamps/add-zero-debug.stamp: stamps/icedtea-debug.stamp + mkdir -p stamps if ADD_ZERO_BUILD mkdir -p zerovm @@ -2157,8 +2169,6 @@ $(jtreg_processes); \ fi -check-local: jtregcheck - # Support classes for non-OpenJDK bootstraps stamps/plugs.stamp: bootstrap/jdk1.7.0/jre/lib/rt-closed.jar @@ -2191,23 +2201,6 @@ $(JDK_SHARE)/javax/script \ $(JAXWS)/javax/xml/bind -stamps/copy-source-files.stamp: stamps/overlay.stamp - for copy_dir in $(ICEDTEA_COPY_DIRS) ; \ - do \ - mkdir -p rt/$$copy_dir ; \ - cp -pPRf openjdk/jdk/src/share/classes/$$copy_dir/*.java \ - rt/$$copy_dir ; \ - done - mkdir -p stamps - touch stamps/copy-source-files.stamp - -clean-copy: - rm -f stamps/copy-source-files.stamp - for copy_dir in $(ICEDTEA_COPY_DIRS) ; \ - do \ - rm -rf rt/$$copy_dir ; \ - done - # tools.jar class files. stamps/hotspot-tools-copy-source-files.stamp: stamps/overlay.stamp for copy_dir in \ @@ -2277,9 +2270,13 @@ fi # rt-closed.jar class files. -rt-source-files.txt: stamps/extract.stamp stamps/copy-source-files.stamp +rt-source-files.txt: stamps/extract.stamp find $(abs_top_builddir)/rt -name '*.java' \ | sort -u > $@ + for dir in $(ICEDTEA_BOOTSTRAP_DIRS) ; \ + do \ + find $(abs_top_builddir)/$$dir -name '*.java' >> $@; \ + done stamps/rt-class-files.stamp: rt-source-files.txt stamps/hotspot-tools.stamp mkdir -p lib/rt