simplify Makefile, move Error() from cpu_glue.c to common.c
change debug log from printf()/__android_log() to p6logd()