Skip to content

Commit c4bd0db

Browse files
Geoffroy Van Cutsemlijinxia
authored andcommitted
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>
1 parent 7f2a7d4 commit c4bd0db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/cbc_lifecycle/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
OUT_DIR ?= .
33

4-
$(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c ../../tools/acrn-manager/acrn_mngr.h
5-
gcc -o $@ cbc_lifecycle.c -pthread -L$(OUT_DIR)/../../build/tools -lacrn-mngr
4+
$(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c $(TOOLS_OUT)/libacrn-mngr.a
5+
gcc -o $@ cbc_lifecycle.c -pthread -L$(TOOLS_OUT) -lacrn-mngr
66

77
clean:
88
rm $(OUT_DIR)/cbc_lifecycle

0 commit comments

Comments
 (0)