2. Even if I set NO_IMAGES=true, why is the images still built?Try also setting DEV_ONLY=true. I think these are tied together for some historic reason.
Yes - take a look at <top-level>/make/jdk-rules.gmk, starting at line 65:
ifndef DEV_ONLY JDK_BUILD_TARGETS = sanity all $(DOCS_TARGET) images else JDK_BUILD_TARGETS = sanity all $(IMAGES_TARGET) endif
HTH- Tim