From 36ff3d0678bd291c83dcd83e0ffe50bdfac88be8 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 16 Oct 2015 11:43:08 -0700 Subject: [PATCH] Add OMI targets to Makefile Recursively builds OMI and the TestShell provider. The OMI tests currently do not pass and so have not been added to `make test`. --- scripts/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/Makefile b/scripts/Makefile index 499aead30..949762aeb 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -224,6 +224,26 @@ trace: $(RUN_TARGETS) prepare run-debugclr: $(RUN_TARGETS) prepare PAL_DBG_CHANNELS="+LOADER.TRACE" $(APP_BASE)/runps-simple.sh get-location +# OMI +OMI=$(MONAD)/src/omi/Unix/ +OMI_FLAGS=--dev --enable-debug +$(OMI)/GNUmakefile: + cd $(OMI) && ./configure $(OMI_FLAGS) + +$(OMI)/output: $(OMI)/GNUmakefile + $(MAKE) -j -C $(OMI) + +omi: $(OMI)/output + +MONAD_PROVIDER=$(MONAD)/src/monad-omi-provider +$(OMI)/output/lib/libTestShell.so: omi + $(MAKE) -j -C $(MONAD_PROVIDER) + +psrp: $(OMI)/output/lib/libTestShell.so + +psrp-tests: omi + $(MAKE) -C $(OMI) tests + # quoting here is a bit special if strings are passed in, because lldb # seems to forward arguments strangely debug: $(RUN_TARGETS) prepare