From 5513936a6b0fb0cfdb00f208602951bf90d392ec Mon Sep 17 00:00:00 2001 From: Costin Lupu Date: Mon, 13 Mar 2023 10:14:24 +0100 Subject: [PATCH] cloning: xenclone: Fix OVS source directory (try 02) Signed-off-by: Costin Lupu --- tools/xenclone/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/xenclone/Makefile b/tools/xenclone/Makefile index 066dc6d1b3a0..acd4066fbfe3 100644 --- a/tools/xenclone/Makefile +++ b/tools/xenclone/Makefile @@ -39,7 +39,10 @@ OVS_SRC=/home/wolf/nfv/dev/UPSTREAM/ovs.git APPEND_LDFLAGS+=-L$(OVS_SRC)/utilities/.libs/ APPEND_LDFLAGS+=-L$(OVS_SRC)/dist/ovs/lib else -OVS_SRC=/root/dev/ovs +#OVS_SRC=/root/dev/ovs +ifndef OVS_SRC +$(error OVS_SRC is undefined) +endif APPEND_LDFLAGS+=-L/root/dist/ovs/lib endif CFLAGS += -I$(OVS_SRC)/include