blob: 9a6a8d01c7616e5e28cc1fe6e78b5574b00b1342 [file] [log] [blame]
Carmelo Cascone770507f2017-09-14 20:58:04 +02001all: main
2
3main: 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