toolsandutils/buildsystem/shell/sh.mk
branchGCC_SURGE
changeset 55 59148e28d9f6
parent 0 83f4b4db085c
equal deleted inserted replaced
53:d23856282806 55:59148e28d9f6
   111 # Used in PDS components in syslibs/*.mk
   111 # Used in PDS components in syslibs/*.mk
   112 define forceremove
   112 define forceremove
   113 -$(ERASE) -f $(1)
   113 -$(ERASE) -f $(1)
   114 endef
   114 endef
   115 
   115 
       
   116 # Macro to execute a command if a file exists.
       
   117 define ifexistf
       
   118 if [ -f $(1) ]; then $(2); fi
       
   119 endef
       
   120 
       
   121 # Macro ensure path delimiters are the right sort.
       
   122 define normalise_path
       
   123 $(subst \,/,$(1))
       
   124 endef
       
   125 
   116 # Configuration needs to be returned as upper case for abld
   126 # Configuration needs to be returned as upper case for abld
   117 CONFIGURATION:=rel
   127 CONFIGURATION:=rel