RFR (S): 7172922: export_ makefile targets do not work unless all supported variants are built
david.holmes at oracle.com
Sun Apr 14 23:39:36 UTC 2013
On 14/04/2013 2:03 PM, Christian Thalinger wrote:
> On Apr 12, 2013, at 5:10 PM, David Holmes <david.holmes at oracle.com> wrote:
>> Hi Chris,
>> On 13/04/2013 4:58 AM, Christian Thalinger wrote:
>>> 7172922: export_ makefile targets do not work unless all supported variants are built
>>> GEN_DIR can be overwritten by other configurations if multiple JVM_VARIANT_*s are defined. The fix is to use the *_BASE_DIRs directly to install the correct files.
>> This looks like a simple temporary solution - thanks.
> Yes, it's not perfect but good enough for now.
>> More long term I hope we should be able to generate the set of targets based on the selected JVM_VARIANTS, without needing all those duplicated blocks.
>> One query with the current situation: why doesn't MISC_DIR cause us a problem? It would seem to have the same issue as GEN_DIR. ???
> MISC_DIR has the same problem but I didn't want to mess with Windows.
> How about this one?
I like the addition simplification of getting rid of BASE_DIR and MISC_DIR.
However I think you still need conditionals for Windows otherwise this:
315 $(EXPORT_JRE_BIN_DIR)/%.diz: $(C2_DIR)/%.diz
for example, is going to be executed for all platforms and dump the diz
files into the bin directory.
> -- Chris
More information about the build-dev