Fix CFG_RUN* rules a bit harder. Can now do 'make check' on both boot and stage0 targets.

This commit is contained in:
Graydon Hoare 2011-03-21 15:29:59 -07:00
parent 933c01bd15
commit e80c0d5027
1 changed files with 3 additions and 2 deletions

View File

@ -89,9 +89,10 @@ ifdef CFG_UNIXY
CFG_EXE_SUFFIX :=
CFG_LDPATH :=$(CFG_LDPATH):$(CFG_LLVM_LIBDIR)
CFG_RUN_TARG=\
LD_LIBRARY_PATH=$(dir $(1)):$(CFG_LDPATH) $(1)
LD_LIBRARY_PATH=$(dir $(firstword $(1))):$(CFG_LDPATH) $(1)
CFG_RUN_TEST=\
LD_LIBRARY_PATH=$(dir $(1)):$(CFG_LDPATH) $(CFG_VALGRIND) $(1)
LD_LIBRARY_PATH=$(dir $(firstword $(1))):$(CFG_LDPATH) \
$(CFG_VALGRIND) $(1)
CFG_BOOT_NATIVE := 1