mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 04:33:55 +00:00
Tools:acrnlog: install acrnlog.service
Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
parent
5a9e9b1b49
commit
476f39e032
@ -3,6 +3,7 @@ OUT_DIR ?= .
|
||||
|
||||
all:
|
||||
$(CC) -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread
|
||||
cp acrnlog.service $(OUT_DIR)/acrnlog.service
|
||||
|
||||
clean:
|
||||
rm $(OUT_DIR)/acrnlog
|
||||
@ -10,3 +11,5 @@ clean:
|
||||
install: $(OUT_DIR)/acrnlog
|
||||
install -d $(DESTDIR)/usr/bin
|
||||
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/acrnlog
|
||||
install -d $(DESTDIR)/usr/lib/systemd/system
|
||||
install -p -D -m 0644 $(OUT_DIR)/acrnlog.service $(DESTDIR)/usr/lib/systemd/system
|
||||
|
Loading…
Reference in New Issue
Block a user