blob: 2760bf0c3e9548fa8cea7cc51da4adfc64c82127 [file] [log] [blame]
all: fabric fabric-spgw fabric-full constants
fabric:
@./bmv2-compile.sh "fabric" ""
fabric-spgw:
@./bmv2-compile.sh "fabric-spgw" "-DWITH_SPGW"
fabric-full:
@./bmv2-compile.sh "fabric-full" "-DWITH_MULTICAST -DWITH_IPV6 -DWITH_SPGW"
constants:
onos-gen-p4-constants \
-o $(ONOS_ROOT)/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/FabricConstants.java \
fabric p4c-out/fabric-full/bmv2/default/p4info.txt
clean:
rm -rf p4c-out/*/bmv2