-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (21 loc) · 758 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (21 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Set GLB_SKIP_DPDK_DIRECTOR=1 to skip building the DPDK glb-director package.
# In that mode we still build glb-director-cli (a runtime dep of glb-director-xdp)
# via GLB_CLI_ONLY=1. This is used on distros where DPDK 17 / KNI is unavailable
# (e.g. Ubuntu noble).
GLB_SKIP_DPDK_DIRECTOR ?=
mkdeb:
make -C src/glb-redirect mkdeb
make -C src/glb-healthcheck mkdeb
cd src/glb-director-xdp && script/create-packages
ifeq ($(GLB_SKIP_DPDK_DIRECTOR),1)
cd src/glb-director && GLB_CLI_ONLY=1 script/create-packages
else
cd src/glb-director && script/create-packages
endif
clean:
make -C src/glb-redirect clean
make -C src/glb-healthcheck clean
ifneq ($(GLB_SKIP_DPDK_DIRECTOR),1)
make -C src/glb-director clean
endif
make -C src/glb-director/cli clean