Re: Double '$' in jdk/make/RunTests.gmk

2023-03-15 Thread erik . joelsson
Hello Matthias, Double '$' in makefiles is used to escape '$' when called by the $(eval $(call ...)) combination. Care needs to be taken to use either double or single '$' to control when (in which make evaluation phase) a variable or macro call is evaluated. In practice this means that we mai

Double '$' in jdk/make/RunTests.gmk

2023-03-15 Thread Baesken, Matthias
Hi, I noticed a double usage of ‘$’ in jdk/make/RunTests.gmk 800 ifeq ($$(call isTargetOs, windows), true) 801 $1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH Is there some good reason for this, the other call isTargetOs - snippets in the Makefiles do not use $$? Best regards, Ma