mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 05:30:24 +00:00
Now cbc_attach service installed by default and thus we can enable cbc_lifecycle service too. Signed-off-by: Alek Du <alek.du@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com>
14 lines
387 B
Makefile
14 lines
387 B
Makefile
|
|
OUT_DIR ?= .
|
|
|
|
$(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c $(TOOLS_OUT)/libacrn-mngr.a
|
|
gcc -o $@ cbc_lifecycle.c -pthread -L$(TOOLS_OUT) -lacrn-mngr
|
|
|
|
clean:
|
|
rm $(OUT_DIR)/cbc_lifecycle
|
|
|
|
install: $(OUT_DIR)/cbc_lifecycle cbc_lifecycle.service
|
|
install -d $(DESTDIR)/usr/bin
|
|
install -t $(DESTDIR)/usr/bin $<
|
|
install -p -D -m 0644 cbc_lifecycle.service $(DESTDIR)/usr/lib/systemd/system/
|