Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame^] | 1 | all: basic int constants |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 2 | |
| 3 | basic: basic.p4 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 4 | p4c-bm2-ss --arch v1model -o p4c-out/bmv2/basic.json \ |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 5 | --p4runtime-file p4c-out/bmv2/basic.p4info \ |
| 6 | --p4runtime-format text basic.p4 |
| 7 | |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8 | int: int.p4 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 9 | p4c-bm2-ss --arch v1model -o p4c-out/bmv2/int.json \ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10 | --p4runtime-file p4c-out/bmv2/int.p4info \ |
| 11 | --p4runtime-format text int.p4 |
| 12 | |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame^] | 13 | constants: |
| 14 | onos-gen-p4-constants \ |
| 15 | -o $(ONOS_ROOT)/pipelines/basic/src/main/java/org/onosproject/pipelines/basic/BasicConstants.java \ |
| 16 | basic p4c-out/bmv2/basic.p4info |
| 17 | |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 18 | clean: |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 19 | rm -rf p4c-out/bmv2/* |