Update Tofino artifacts to include recent changes to fabric.p4

Also, allow building with custom P4C flags

Change-Id: I5b96780b7d80f32d260d2fbb0d3b9c25a981f8b2
diff --git a/src/main/p4/build.sh b/src/main/p4/build.sh
index b2ce8c7..27d2e9b 100755
--- a/src/main/p4/build.sh
+++ b/src/main/p4/build.sh
@@ -30,13 +30,13 @@
 set -e
 
 PROFILE=$1
-OTHER_PP_FLAGS=$2
+P4CFLAGS=${*:2}
 
 # PWD is the directory where this script is called from (should be the root of
 # this repo).
 P4C_OUT=${PWD}/tmp/${PROFILE}
 # Prevent the creation by docker run
-mkdir -p ${P4C_OUT}
+mkdir -p "${P4C_OUT}"
 
 # DIR is this file directory.
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@@ -66,7 +66,7 @@
     set -x
     $P4C_CMD --arch v1model -g  --create-graphs --verbose 2 \
       -o ${P4C_OUT}/${pltf} -I ${P4_SRC_DIR} \
-      ${pp_flags} ${OTHER_PP_FLAGS} \
+      ${pp_flags} ${P4CFLAGS} \
       ${p4c_flags} \
       --p4runtime-files ${P4C_OUT}/${pltf}/p4info.txt \
       ${DIR}/fabric-tofino.p4