parallella / parallella-utils

Library of various community contributed Parallella board admin scripts and programs
Other
39 stars 19 forks source link

Make call to uname portable. #8

Closed hewittc closed 8 years ago

hewittc commented 8 years ago

Minor change to expand compability in Makefile. Some distributions do not exhibit expected behavior with the -p flag, but work fine with -m:

e.g. Arch Linux ARM:

% uname -p
unknown

% uname -m
armv7l

From uname's man page:

       -m, --machine
              print the machine hardware name

       -p, --processor
              print the processor type (non-portable)