-
Bug
-
Resolution: Withdrawn
-
P4
-
8
-
os_x
make/HotspotWrapper.gmk needs to ignore "ide" folder
For JDK-8007737 one needs to manually patch make/HotspotWrapper.gmk to ignore the "ide" folder, or otherwise the make file system gets confused and won't build hotspot if I add the Xcode project to hotspot folder:
> hg diff ./make/HotspotWrapper.gmk
diff -r 1e1f86d5d4e2 make/HotspotWrapper.gmk
--- a/make/HotspotWrapper.gmk Thu Dec 12 05:20:45 2013 -0800
+++ b/make/HotspotWrapper.gmk Thu Dec 26 11:11:54 2013 -0600
@@ -35,8 +35,8 @@
default: all
-# Get all files except .hg in the hotspot directory.
-HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)
+# Get all files except ".hg" and "ide" related files in the hotspot directory.
+HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print | $(GREP) -v "ide")
# The old build creates hotspot output dir before calling hotspot and
# not doing it breaks builds on msys.
For JDK-8007737 one needs to manually patch make/HotspotWrapper.gmk to ignore the "ide" folder, or otherwise the make file system gets confused and won't build hotspot if I add the Xcode project to hotspot folder:
> hg diff ./make/HotspotWrapper.gmk
diff -r 1e1f86d5d4e2 make/HotspotWrapper.gmk
--- a/make/HotspotWrapper.gmk Thu Dec 12 05:20:45 2013 -0800
+++ b/make/HotspotWrapper.gmk Thu Dec 26 11:11:54 2013 -0600
@@ -35,8 +35,8 @@
default: all
-# Get all files except .hg in the hotspot directory.
-HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)
+# Get all files except ".hg" and "ide" related files in the hotspot directory.
+HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print | $(GREP) -v "ide")
# The old build creates hotspot output dir before calling hotspot and
# not doing it breaks builds on msys.