mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 03:15:42 +00:00
The install -D is misleading people since it only creates the leading directories. The problem was hidden due to we always call make install and the destination folder was already created in previous install script. Signed-off-by: Alek Du <alek.du@intel.com>
14 lines
356 B
Makefile
14 lines
356 B
Makefile
OUT_DIR ?= .
|
|
|
|
all:
|
|
gcc -o $(OUT_DIR)/cbc_attach cbc_attach.c
|
|
|
|
clean:
|
|
rm -rf $(OUT_DIR)/cbc_attach
|
|
|
|
install: $(OUT_DIR)/cbc_attach cbc_attach.service
|
|
install -d $(DESTDIR)/usr/bin
|
|
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/cbc_attach
|
|
install -d $(DESTDIR)/usr/lib/systemd/system/
|
|
install -p -m 0644 cbc_attach.service $(DESTDIR)/usr/lib/systemd/system/
|