mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 11:47:30 +00:00
cbc_lifecycle: fix building using custom output directory
The 'cbc_lifecycle' component fails to build when using a custom output directory (e.g.: 'make O=build-test'). This patch fixes this by replacing a hard-coded path with the variable that points at the right location where to find its target dependencies. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
7f2a7d47dd
commit
c4bd0db1ca
@ -1,8 +1,8 @@
|
||||
|
||||
OUT_DIR ?= .
|
||||
|
||||
$(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c ../../tools/acrn-manager/acrn_mngr.h
|
||||
gcc -o $@ cbc_lifecycle.c -pthread -L$(OUT_DIR)/../../build/tools -lacrn-mngr
|
||||
$(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
|
||||
|
Loading…
Reference in New Issue
Block a user