Skip to content

Commit 072f3d7

Browse files
author
lec-bit
committed
make kmesh.ko out of container
Signed-off-by: lec-bit <glfhzmy@126.com>
1 parent 9ef7d96 commit 072f3d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ TMP_FILES := bpf/kmesh/bpf2go/bpf2go.go \
8989
bpf/include/bpf_helper_defs_ext.h \
9090

9191
.PHONY: all kmesh-bpf kmesh-ko all-binary
92-
all: kmesh-bpf kmesh-ko all-binary
92+
all: kmesh-bpf all-binary
9393

9494
kmesh-bpf:
9595
$(QUIET) find $(ROOT_DIR)/mk -name "*.pc" | xargs sed -i "s#^prefix=.*#prefix=${ROOT_DIR}#g"

kmesh_compile.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
44

55
. $ROOT_DIR/hack/utils.sh
66

7+
./kmesh_macros_env.sh
8+
make kmesh-ko
79
container_id=$(run_docker_container)
810
build_kmesh $container_id
911
clean_container $container_id

0 commit comments

Comments
 (0)