hake.sh advises you on the wrong known architectures; it lists k10m (with a zero) instead of k1om (with a lowercase letter 'o')
a case match in compiler-rt will cause interpretation of the concatenated Hakefile pile to throw an incomplete case error (on some anonymous segment of the dynamically created string, which cannot be inspected) when an unrecognized architecture is put in, instead of generating any kind of comprehensible message---so I put in the relevant error cases