beaglebone: makefile modified, gcc code optimization option added

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>
beaglebone: hello world example modified, led blinks now...

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>