comparison mx/mx_graal_makefile.py @ 21947:e701664f4168

Add parameter description to jvmci.make
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Fri, 12 Jun 2015 14:53:05 +0200
parents 62da3906ab7f
children 0458778bb188
comparison
equal deleted inserted replaced
21946:49dad3e40b57 21947:e701664f4168
230 $(QUIETLY) mkdir -p $(shell dirname $(4)) 230 $(QUIETLY) mkdir -p $(shell dirname $(4))
231 $(QUIETLY) $(JAR) cf $(4) -C $(TMP) . 231 $(QUIETLY) $(JAR) cf $(4) -C $(TMP) .
232 $(QUIETLY) rm -r $(TMP); 232 $(QUIETLY) rm -r $(TMP);
233 endef 233 endef
234 234
235 # Verifies if the defs.make contain the exported files of services/ 235 # Verifies if the defs.make contain the exported files of services/ or options/
236 # Arguments:
237 # 1: files to check
238 # 2: prefix for pattern to check
239 # 3: path to defs.make file
236 define verify_export_def_make 240 define verify_export_def_make
237 $(foreach file,$(1),$(if $(shell grep '$(2)$(file)' $(3) > /dev/null && echo found), , $(error "Pattern '$(2)$(file)' not found in $(3)"))) 241 $(foreach file,$(1),$(if $(shell grep '$(2)$(file)' $(3) > /dev/null && echo found), , $(error "Pattern '$(2)$(file)' not found in $(3)")))
238 endef 242 endef
239 243
240 all: default 244 all: default