make/sanity-rules.gmk
changeset 6039 0503a5e92824
parent 5743 e14fbdea5504
child 7654 a8d5f59bbae6
equal deleted inserted replaced
6036:88db80c8e49c 6039:0503a5e92824
   226 ######################################################
   226 ######################################################
   227 # if specified, ALT_BOOTDIR must point to non-relative path if set
   227 # if specified, ALT_BOOTDIR must point to non-relative path if set
   228 ######################################################
   228 ######################################################
   229 alt_bootdir:
   229 alt_bootdir:
   230 ifdef ALT_BOOTDIR
   230 ifdef ALT_BOOTDIR
   231 	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -ci '^([a-z]:)?/'` -ne 1 ]; then \
   231 	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -c '^([A-Za-z]:)?/'` -ne 1 ]; then \
   232 	  $(ECHO) "ERROR: ALT_BOOTDIR must be an Absolute Path Name, \n" \
   232 	  $(ECHO) "ERROR: ALT_BOOTDIR must be an Absolute Path Name, \n" \
   233 	    "      not a Relative Path Name. \n" \
   233 	    "      not a Relative Path Name. \n" \
   234 	    "      The current value of ALT_BOOTDIR is \n" \
   234 	    "      The current value of ALT_BOOTDIR is \n" \
   235 	    "          $(ALT_BOOTDIR) \n" \
   235 	    "          $(ALT_BOOTDIR) \n" \
   236 	    "      Please fix this and continue your build. \n" \
   236 	    "      Please fix this and continue your build. \n" \