changeset 2303:69e2cfc5643f

Add rebuild target to allow a quick OpenJDK rebuild (warning; may not work in some cases due to flaws in OpenJDK's build system) 2010-07-08 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: (rebuild): Add new target to allow a quick rebuild of OpenJDK in the manner of the existing hotspot target.
author Andrew John Hughes <ahughes@redhat.com>
date Fri, 23 Jul 2010 09:11:11 +0100
parents b52dc7f36b70
children 2d3c4a7208ec
files ChangeLog Makefile.am
diffstat 2 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 23 00:26:40 2010 +0100
+++ b/ChangeLog	Fri Jul 23 09:11:11 2010 +0100
@@ -1,3 +1,10 @@
+2010-07-08  Andrew John Hughes  <ahughes@redhat.com>
+
+	* Makefile.am:
+	(rebuild): Add new target to allow a quick
+	rebuild of OpenJDK in the manner of the existing
+	hotspot target.
+
 2010-07-08  Omair Majid  <omajid@redhat.com>
 
 	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
--- a/Makefile.am	Fri Jul 23 00:26:40 2010 +0100
+++ b/Makefile.am	Fri Jul 23 09:11:11 2010 +0100
@@ -1948,6 +1948,21 @@
 	mkdir -p stamps
 	touch $@
 
+# Rebuild targets
+
+rebuild:
+if BOOTSTRAPPING
+	rm -f stamps/icedtea-boot.stamp
+	rm -f stamps/icedtea-stage1.stamp
+	$(ARCH_PREFIX) $(MAKE) icedtea-stage1
+	@echo "bootstrap-poured IcedTea is served (again):" $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
+else
+	rm -f stamps/icedtea.stamp
+	rm -f stamps/icedtea-stage2.stamp
+	$(ARCH_PREFIX) $(MAKE) icedtea-stage2
+	@echo "IcedTea is served (again):" $(BUILD_OUTPUT_DIR)/j2sdk-image
+endif
+
 hotspot:
 if BOOTSTRAPPING
 	rm -f stamps/icedtea-boot.stamp