make/sanity-rules.gmk

changeset 200
f1ba69da5003
parent 191
47f6b7db1882
child 280
024a6755895b
equal deleted inserted replaced
198:a136a51f5113 200:f1ba69da5003
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" \

mercurial