modified Makefile.L3 for ARM