mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 11:55:25 +00:00
Add the Makefile in the SampleApplication root directory. User don't need to separate build the userapp and rtapp, just need make once at the SampleApplication root directory. Tracked-On #7820 Signed-off-by: Liu Long <long.liu@linux.intel.com>
19 lines
319 B
Makefile
19 lines
319 B
Makefile
T := $(CURDIR)
|
|
OUT_DIR ?= $(shell mkdir -p $(T)/build;cd $(T)/build/;pwd)
|
|
|
|
.PHONY: all userapp rtapp
|
|
all: userapp histapp rtapp
|
|
|
|
userapp:
|
|
$(MAKE) -C $(T)/uservm OUT_DIR=$(OUT_DIR)
|
|
histapp:
|
|
cp $(T)/uservm/histapp.py $(OUT_DIR)
|
|
rtapp:
|
|
$(MAKE) -C $(T)/rtvm OUT_DIR=$(OUT_DIR)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -rf $(OUT_DIR)
|
|
|