forked from F-Stack/pyfstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 727 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#==========================================================================
# Author: Yu Yang
# Email: [email protected]
# Created: 2017-09-02 Sat 11:19
#==========================================================================
FF_DPDK_TARGET ?= x86_64-native-linuxapp-gcc
CFSTACK_DEP = cfstack/.gitignore
all: dpdk fstack
dpdk: CFSTACK_DEP
cd cfstack/dpdk && make install T=$(FF_DPDK_TARGET) CONFIG_RTE_BUILD_COMBINE_LIBS=y EXTRA_CFLAGS="-fPIC" -j 4
.PHONY: dpdk
fstack: CFSTACK_DEP
cd cfstack/lib && make CONF_CFLAGS="-fPIC"
.PHONY: fstack
CFSTACK_DEP:
git submodule update --init
clean:
cd cfstack/lib && make clean; \
cd cfstack/dpdk && rm -rf $(FF_DPDK_TARGET)
.PHONY: clean