linux.inc: remove ARM-isms and fix packaging

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>