Carmelo Cascone | 770507f | 2017-09-14 20:58:04 +0200 | [diff] [blame] | 1 | all: main |
2 | |||||
3 | main: main.p4 | ||||
4 | p4c-bm2-ss -o main.json --p4runtime-file main.p4info --p4runtime-format text main.p4 | ||||
5 | # Fix for BMv2/p4c bug... | ||||
6 | sed -i -e 's/"value" : "0xff"/"value" : "0x00ff"/g' main.json |