]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/ncc/ncc.in
add %P to ncc to stay in line with the storage volume tool
[tinyos-2.x.git] / tools / tinyos / ncc / ncc.in
index 7ae3c0a21309b8790bd5ab106d054955ffe8de51..2adbaa52bfebf4bb80c0cbd23b578fccce160d43 100644 (file)
@@ -262,6 +262,7 @@ sub idir_subst {
        $rep = "%" if $char eq "%";
        $rep = $TOSDIR if $char eq "T";
        $rep = $target if $char eq "p";
+       $rep = $platform_dir if $char eq "P";
        &fail("unknown include-path substitution %" . $char) if !$rep;
        substr($idir, $idx, 2) = $rep;
        $idx += length $rep;