blob: 81617a13b0bed3ec22826f8cf62724b00c599bfa [file] [log] [blame]
Carmelo Cascone76d401c2018-09-16 13:52:45 -07001all: fabric fabric-spgw fabric-int fabric-spgw-int fabric-full constants
Yi Tsengbe342052017-11-03 10:21:23 -07002
Carmelo Cascone228092b2018-06-15 20:41:10 +02003fabric:
4 @./bmv2-compile.sh "fabric" ""
Yi Tseng1d842672017-11-28 16:06:52 -08005
Carmelo Cascone228092b2018-06-15 20:41:10 +02006fabric-spgw:
7 @./bmv2-compile.sh "fabric-spgw" "-DWITH_SPGW"
Carmelo Casconeb81f4be2018-01-16 23:24:01 -08008
Jonghwan Hyuned478dc2018-08-06 15:35:18 +09009fabric-int:
Carmelo Cascone3053ed12018-08-16 17:14:43 -070010 @./bmv2-compile.sh "fabric-int" "-DWITH_INT_SOURCE -DWITH_INT_TRANSIT"
Jonghwan Hyuned478dc2018-08-06 15:35:18 +090011
Carmelo Cascone76d401c2018-09-16 13:52:45 -070012fabric-spgw-int:
13 @./bmv2-compile.sh "fabric-spgw-int" "-DWITH_SPGW -DWITH_INT_SOURCE -DWITH_INT_TRANSIT"
14
Carmelo Cascone1e8843f2018-07-19 19:01:12 +020015fabric-full:
Carmelo Cascone3053ed12018-08-16 17:14:43 -070016 @./bmv2-compile.sh "fabric-full" "-DWITH_MULTICAST -DWITH_IPV6 -DWITH_SPGW \
17 -DWITH_INT_SOURCE -DWITH_INT_TRANSIT -DWITH_INT_SINK"
Carmelo Cascone1e8843f2018-07-19 19:01:12 +020018
19constants:
20 onos-gen-p4-constants \
21 -o $(ONOS_ROOT)/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/FabricConstants.java \
22 fabric p4c-out/fabric-full/bmv2/default/p4info.txt
23
Yi Tsengbe342052017-11-03 10:21:23 -070024clean:
Carmelo Cascone228092b2018-06-15 20:41:10 +020025 rm -rf p4c-out/*/bmv2